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
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Localized
- Reject
- ios
- localizing
- Language
- swiftUI
- 로컬라이징
- SWIFT
- TabBar
- TabView
- 다국어
- SKPayment
- 심사
- 엑스코드
- custom segment
- presentationcompactadaptation
- 인디케이터
- SKProductsRequestDelegate
- Xcode
- Localizations
- 테이블뷰
- 스위프트
- indicator
- permission
- 아이오에스
- Authorization
- SKPaymentTransactionObserver
- 리젝
- 프로그레스
- AppStore
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함