I'm working on iOS 10 app and since openURL is deprecated I need some help using the new method. Problem I'm facing is not knowing what to pass in the options parameter.
Here's my code:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.google.com"] options:nil completionHandler:nil];
Compiler gives warning: "Null passed to a callee that requires a non-null argument."
Confused what I should pass in...?