在“设置"应用中打开 Twitter 设置 [英] Open Twitter settings in Settings app
本文介绍了在“设置"应用中打开 Twitter 设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道我可以使用
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs://"]];
但是有没有办法直接打开推特设置页面?当您尝试呈现 TWTweetComposeViewController 并且您尚未设置 Twitter 帐户时,可以看到所需的功能.
but is there a way to open the Twitter settings page directly? The desired functionality can be seen when you try to present a TWTweetComposeViewController and you have not set up a Twitter account.
推荐答案
尝试,
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=TWITTER"]];
这篇关于在“设置"应用中打开 Twitter 设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文