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

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

问题描述

更新:看来Twitter已解决此问题.现在单击授权按钮即可!谢谢大家的答复.

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

我有一个UIWebView,它将打开并定向到Twitter的Oauth/Authorize网页.用户使用Twitter帐户登录并使用Twitter帐户验证我们的应用程序的使用.在发布Twitter 6.37 iOS应用程序之前,此过程非常完美.现在,当WebView检测到 https://twitter.com/oauth/authorize?oauth_token而不是停留在WebView中,而是打开本机Twitter应用程序并死亡.如果您卸载Twitter应用程序,则一切正常运行,并且停留在WebView中.如何防止这种情况发生?我想停留在UIWebView中,而不是自动打开深层链接.我一直在阅读有关iOS 9中新的URL深链接更改的信息,但不确定如何阻止它们从我的应用程序转移到其他本机应用程序.感谢您的帮助!

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!

推荐答案

作为一种解决方法,在Twitter身份验证屏幕中,我们可以使用iOS键入键盘上的转到"按钮,而不是使用Web视图上的登录"按钮,直到Twitter修复为止. 为了清楚起见,请参阅附件的屏幕快照链接.

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.

解决方法的屏幕截图

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

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