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 | 31 |
Tags
- Firebase
- Git
- Swift
- github
- Apple
- 개발자
- Notification
- Xcode
- darkmode
- Session
- 웹뷰
- Code
- SwiftUI
- appstore
- JPA
- MacOS
- geofencing
- rxswift
- FLUTTER
- UIButton
- iOS16
- window
- stack
- IOS
- view
- 한글
- mac
- Archive
- Realm
- error
Archives
- Today
- Total
EEYatHo 앱 깎는 이야기
Swift ) 앱 실행방법에 따른 분기 - EEYatHo iOS 본문
반응형
AppDelegate로 분기한다.
- deepLink
func application(_ application: UIApplication, handleOpen url: URL) -> Bool {
...
let deepLinkUrl = url
...
}
- universerLink
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
...
let universalLinkUrl = userActivity.webpageURL
...
}
- push
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
...
if let launchOpts: NSDictionary = launchOptions as NSDictionary? {
// some data
}
...
}
'iOS, Swift' 카테고리의 다른 글
Swift ) NSMutableDictionary vs NSDictionary - EEYatHo iOS (0) | 2021.08.11 |
---|---|
Swift ) AirBridge - EEYatHo iOS (0) | 2021.08.09 |
Swift ) defer - EEYatHo iOS (0) | 2021.07.21 |
Swift ) CollectionView로 화면을 채울 때 주의사항 - EEYatHo iOS (0) | 2021.06.14 |
Swift ) Notification과 Rx의 차이 (설계 관점) - EEYatho iOS (0) | 2021.05.27 |
Comments