搭载iOS10的苹果已弃用openURL: for openURL:option:completionHandler
如果我有:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.google.com"]];
它会变成什么样子?options:<#(nonnull NSDictionary<NSString *,id> *)#>
个细节
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.google.com"] options:<#(nonnull NSDictionary<NSString *,id> *)#> completionHandler:nil];
谢谢
更新
options:@{}
,表示没有键和值的空字典
http://useyourloaf.com/blog/querying-url-schemes-with-canopenurl/个