-
iOS) 카카오톡 로그인 13.0이상 버전부터 SceneDelegate 설정 해야됨Programing Language/iOS(Swift) 2020. 6. 5. 19:46728x90반응형This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
이때까지 소셜로그인 하면, AppDelegate 에, 이것저것 설정해 두었었다. 근데 iOS13 에서, 아무리 해도, 카카오 로그인 핸들러가 안불러지는것이다. 알고보니, SceneDelegate 에도 적용을 해줘야 한다....;; SceneDelegate.swift func sceneDidEnterBackground(_ scene: UIScene) { KOSession.handleDidEnterBackground() } func sceneDidBecomeActive(_ scene: UIScene) { KOSession.handleDidBecomeActive() } func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) { if let url = URLContexts.first?.url { KOSession.handleOpen(url) } } 728x90반응형'Programing Language > iOS(Swift)' 카테고리의 다른 글
iOS) 오류처리 (Error 프로토콜 활용) (0) 2020.07.08 iOS) String특정 값 이후의 값 삭제하기 (0) 2020.06.17 iOS) UIRefreshControl 사용하기(화면에서 아래로 drag해서 새로고침하기) (0) 2020.06.04 iOS) 정수(소수점 포함) 정규표현식 (0) 2020.05.26 iOS) collectionview cell을 가운데에 위치 시키기 (0) 2020.05.22