在我的应用程序中启动浏览器(safari)
我有以下代码
NSURL *url = [NSURL URLWithString:@"workingUrl"];
[[UIApplication sharedApplication] openURL:url];
,当前可以正确加载 url,但是当用户完成后,他们必须退出并返回到我的应用程序。
如何从我的应用程序中加载浏览器?
问候
I have the following code
NSURL *url = [NSURL URLWithString:@"workingUrl"];
[[UIApplication sharedApplication] openURL:url];
which currently loads the url correctly but when the user is done, they have to exit and go back into my app.
How can the browser be loaded from within my app?
Regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你必须自己制作一个小浏览器。使用 UIWebView 和一些触发其方法(前进、后退、重新加载等)的按钮创建一个视图控制器。
You have to make a little browser yourself. Create a View Controller with a
UIWebView
and some buttons that tigger it's methods (forward, back, reload, etc).