Using Googles SignIn in my AppDelegate I have
func application(application: UIApplication,
openURL url: NSURL, sourceApplication: String?, annotation: AnyObject?) -> Bool {
return GIDSignIn.sharedInstance().handleURL(url,
sourceApplication: sourceApplication,
annotation: annotation)
}
But that function is deprecated as of iOS 9 for
application:openURL:options:
How to return
GIDSignIn.sharedInstance().handleURL(url, sourceApplication: sourceApplication, annotation: annotation)
Using the new function for iOS 9?
Use this:
Just for reference, if using Objective-C, the method implementation is:
If on iOS 9, it would be recommended to also implement the new format: