禁用 Twitter 通用深层链接 [英] Disable Twitter Universal Deep Links

查看:47
本文介绍了禁用 Twitter 通用深层链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新: Twitter 似乎已经解决了这个问题.单击授权按钮现在可以工作了!谢谢大家的回复.

我有一个 UIWebView,可以打开并指向 Twitters Oauth/Authorize 网页.用户使用 Twitter 详细信息登录并使用 Twitter 帐户验证我们的应用程序的使用.在 Twitter 6.37 iOS 应用程序发布之前,此过程运行良好.现在发生的事情是当 WebView 检测到

解决方案

作为一种解决方法,在 twitter 身份验证屏幕中,我们可以使用 iOS 输入键盘上的 Go 按钮,而不是使用 web 视图上的登录按钮,直到 twitter 修复.为清楚起见,请参阅随附的屏幕截图链接.

解决方法的屏幕截图

Update: It appears Twitter has fixed this issue. Clicking the authorize button now works! Thank you all for the responses.

I have a UIWebView that opens and directs to Twitters Oauth/Authorize webpage. The user signs in with there Twitter details and authenticates the use of our application with there Twitter account. This process worked perfect before the release of Twitter 6.37 iOS application. What happens now is when the WebView detects https://twitter.com/oauth/authorize?oauth_token instead of staying in the WebView it opens the native Twitter application and dies. If you uninstall the Twitter application everything works as usually it staying within the WebView. How can I prevent this from happening? I want to stay within my UIWebView and not automatically open deep links. I have been reading about the new URL deep link changes in iOS 9, but not sure of how to stop them from my application to other native applications. Thanks for any help!

解决方案

As a workaround, in twitter authentication screen we can use the Go button on iOS typing keypad instead of using the sign in button on web view until twitter fixes. Please refer the attached screenshot link for clarity.

Screenshot for the workaround

这篇关于禁用 Twitter 通用深层链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆