Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 한글
- Xcode
- view
- Firebase
- Code
- IOS
- 웹뷰
- darkmode
- error
- geofencing
- SwiftUI
- rxswift
- iOS16
- Session
- Notification
- Archive
- JPA
- appstore
- 이미지
- UIButton
- mac
- Apple
- 개발자
- Git
- github
- FLUTTER
- Realm
- window
- MacOS
- Swift
Archives
- Today
- Total
목록sourceRect (1)
EEYatHo 앱 깎는 이야기
Swift ) popoverPresentationController - EEYatHo iOS
UIActivityViewController로 action sheet를 띄우거나, share기능을 만들거나 할 때, iPad 지원을 위해 popoverPresentationController를 설정하곤 한다. 1. popoverPresentation을 띄울 뷰를 설정한다. vc.popoverPresentationController?.sourceView = view 2. 설정해준 뷰에서, popoverPresentation를 띄울 좌표를 설정 할 수 있다. vc.popoverPresentationController?.sourceRect = CGRect(x: view.bounds.midX, y: view.bounds.midY, width: 0, height: 0) 3. popoverPresentation는 ..
iOS, Swift
2021. 10. 4. 15:47