2016/05 (1) 썸네일형 리스트형 how to check if an app is installed First, you'll need to 'whitelist' the URL by adding the following to your Info.plist file (a security feature--see Leo Natan's answer): LSApplicationQueriesSchemes fb After that, you can ask whether the app is available and has a registered scheme: guard UIApplication.sharedApplication().canOpenURL(NSURL(string: "fb://")!) else { NSLog("No Facebook? You're a better man than I am, Charlie Brown.".. 이전 1 다음