Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
tel:单击电话链接 ( ) 并使用打开后,是否可以返回我的应用程序
tel:
[[UIApplication sharedApplication] openURL:xyz]
例如,用户何时结束通话?
谢谢
不,不幸的是,没有办法实现这一点,因为单击链接总是会首先终止您的应用程序,然后再启动新的应用程序。
不可以。虽然如果您使用NSUserDefaults(或其他方式)存储您的状态,您可以返回到您离开的同一点;用户必须重新启动您的应用程序才能执行此操作。人机界面指南中推荐了这种方法。
NSUserDefaults