본문 바로가기 메뉴 바로가기

GonsiOS

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

GonsiOS

검색하기 폼
  • 분류 전체보기 (106)
    • iOS Swift + UIKit (45)
    • iOS Library (21)
    • iOS etc. (20)
    • iOS SwiftUI (18)
    • macOS (2)
  • 방명록

UIKit (1)
728x90
반응형
iOS Swift UISheetPresentationController.Detent (하프 모달 Half screen size custom modal drag bottom sheet present)

안녕하세요 Gons 입니다. 반만 나오는 하프 모달 바텀 시트입니다. 드래그해서 크기를 변경할 수도 있습니다. iOS 15 부터 지원합니다. 전체 코드 import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let btn = UIButton(type: .system) view.addSubview(btn) btn.frame = .init(x: 100, y: 100, width: 100, height: 100) btn.setTitle("presentModal", for: .normal) btn.addTarget(self, action: #selector(presentModalBt..

iOS Swift + UIKit 2022. 9. 1. 00:00
728x90
반응형
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 아이오에스
  • picker
  • 인디케이터
  • SWIFT
  • TabView
  • 테이블뷰
  • indicator
  • 로컬라이징
  • presentationcompactadaptation
  • 심사
  • swiftUI
  • 현지화
  • permission
  • custom segment
  • Language
  • connect
  • 리젝
  • localizable
  • TabBar
  • Authorization
  • localizing
  • 다국어
  • AppStore
  • Reject
  • 스위프트
  • 엑스코드
  • ios
  • 프로그레스
  • Infinite Carousel
  • Xcode
more
«   2026/01   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바