Closed MyBar closed 4 years ago
解决了没?
同样问题
I have an iOS app to maintain.
The app uses Weibo SDK to sign-in to Weibo. The app crashes with a similar screenshot to this issue when clicking some kind of cancel button on the left-top of the login page.
I'm not sure my problem is directly related to this issue. Anyway, do you have any idea what I am doing wrong?
Following is a screenshot when the app is crashed:
同样问题
me too
func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any?) -> Bool
Xcode 9.3 中这个代理方法Any不是可选的了, sdk中传了nil
看来只有自己解决了?
嗯,要么你等着他官方更新
黄继平 邮箱:hjphfut@163.com |
---|
签名由 网易邮箱大师 定制
在2018年04月23日 10:56,AlvinZheng 写道:
看来只有自己解决了?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
我另外加了个方法 func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any?) -> Bool (Any改为Any?)后没有崩了。weibo会调到这个方法来。其他的还是调用原来的。
AlvinZheng:正解 通过他的方法成功解决了
AlvinZheng:我也试试这个方法
OC有解决了的吗
OC怎么解决?
OC怎么解决? 我加了这个,没问题了,你试试
- (BOOL)application:(UIApplication )application openURL:(NSURL )url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { return false; }
未安装微博客户端时 授权登录完成自动跳回,但被卡住在 __45+[WeiboSDK directlySendResponseToCurrentApp:]_block_invoke