在我的应用程序中启动浏览器(safari)

发布于 2024-09-08 17:53:21 字数 223 浏览 0 评论 0原文

我有以下代码

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

俏︾媚 2024-09-15 17:53:21

你必须自己制作一个小浏览器。使用 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文