打开 URL 处理
我有一个问题,我在表视图 didSelectrowIndexPath 上打开“http://itunes.apple.com/in/app/eft-feel-happy-fast/id474157386?mt=8”类型的 url,然后打开应用商店打开,用户可以下载我的应用程序,但问题是我想从应用程序商店返回我的应用程序,有人可以帮助我吗?
提前致谢。
I have a problem that I am opening the "http://itunes.apple.com/in/app/eft-feel-happy-fast/id474157386?mt=8" type of url on a table view didSelectrowIndexPath, then app store open and user can download my app but the problem is that I want to go back to my application from the app store how is it possible can any one help me?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您打开 Safari 并离开您的应用程序,您将无法控制接下来会发生什么。当用户选择返回到您的应用程序时,他/她将返回到您的应用程序。
If you open safari and leave your app, you cannot control what happens next. The user will return to your app when he/she chooses to.
不要使用设备的默认浏览器,您将无法从中返回。为此创建新类并使用 webBrowser。借助这个,您可以留在您的应用程序中......
Don't use default browser of device,you can't come back from that. For this create new class and use webBrowser. By the help of this u stay in you app.....
您可以使用 SFSafariViewController 类来重定向应用程序内的链接,并确保用户不会离开应用程序。这是有关如何操作的教程。
SFSafariViewController 教程< /a>
PS-它是用 swift 编写的。
You can use SFSafariViewController class to redirect the links within your apps and make sure that the user doesn't leaves the app. Here is a tutorial on how to do it.
SFSafariViewController Tutorial
PS- It is written in swift.