We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
未安装微博客户端,通过微博web页面进行授权,然后点击左上角的关闭按钮,会引起crash。 通过分析,发现sdk是因为调用了上面截图中已经废弃的api导致的,因为我的app最低适配iOS9.0,旧的api已经移除了。
在调用application:openURL:sourceApplication:annotation:方法之前做一个判断,现在很多应用都使用下面这个api了 - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options API_AVAILABLE(ios(9.0));
application:openURL:sourceApplication:annotation:
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options API_AVAILABLE(ios(9.0));
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题描述
未安装微博客户端,通过微博web页面进行授权,然后点击左上角的关闭按钮,会引起crash。 通过分析,发现sdk是因为调用了上面截图中已经废弃的api导致的,因为我的app最低适配iOS9.0,旧的api已经移除了。
建议
在调用
application:openURL:sourceApplication:annotation:
方法之前做一个判断,现在很多应用都使用下面这个api了- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options API_AVAILABLE(ios(9.0));
The text was updated successfully, but these errors were encountered: