UIApplication的openURL崩溃了我的应用程序 [英] UIApplication's openURL Crashes My App

查看:105
本文介绍了UIApplication的openURL崩溃了我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用UIApplication的openURL:方法在Safari中打开网站。当用户回到应用程序(快速切换),它重新启动。这意味着我的应用程序已退出,而不是转到后台。

I'm using UIApplication's openURL: method to open a website in Safari. When the user came back to the app (fast switching), it relaunched. It means that my app was quit instead of going to the background.

任何人都有同样的问题吗?有任何想法吗?提前感谢。

Does anyone have the same issue? Any ideas? Thank you in advance.

推荐答案

可能需要保留URL对象。这是我以前的问题

It may be possible that you need to retain the URL object. That was once the issue for me

这篇关于UIApplication的openURL崩溃了我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆