‼️ 라이브러리 필요 없음!

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/8142deea-c223-4ac5-bdfa-30b36ec3fbb4/RPReplay_Final1609346471.mp4

Info.plist에 LSApplicationQueriesSchemes 추가해줍니다. "Array"형태로 !!

Item0에 kakaotalk 추가해줍니다.

let kakaoTalk = "kakaotalk://"
        
        let kakaoTalkURL = NSURL(string: kakaoTalk)
    
        if UIApplication.shared.canOpenURL(kakaoTalkURL! as URL) {
        
            UIApplication.shared.openURL(kakaoTalkURL! as URL)
        }
        else {
						// app store 이동 
						openURLToAppStore(urlPath: kakaoTalk)
            print("No kakaostory installed.")
        }
    }

KakaoAppConnectTest.zip