We have successfully integrated Linkedin iOS sdk into our application. It works great on iPhone devices. But when I try to do this on the iPad, it will not work. The problem is that it will not authenticate to the iPad. It simply opens a link to the main page, but does not redirect the application. He remains stuck on the linkedin homepage. Even I also tried using ios sdk links on iPad.
func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject?) -> Bool {
if LISDKCallbackHandler.shouldHandleUrl(url) {
return LISDKCallbackHandler.application(application, openURL: url, sourceApplication: sourceApplication, annotation: annotation)
}
return true
}
The authorization screen or the above code will not start on the iPad.
source
share