在5.1 sim中openWithCompletionHandler概率 [英] openWithCompletionHandler prob in 5.1 sim

查看:135
本文介绍了在5.1 sim中openWithCompletionHandler概率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很困惑。我发现UIDocument方法openWithCompletionHandler在iOS 5和IOS 6 sims中工作,但不适用于iOS 5.1。

I'm puzzled. I'm finding that the UIDocument method openWithCompletionHandler works in the iOS 5 and IOS 6 sims, but not in the one for iOS 5.1.

关于我如何解决的任何想法这个?它只是其中一种情况,即SIM卡跌落但真实环境没有?

Any thoughts on how I work around this? Is it just one of those things where the sim falls down but the real environment doesn't?

谢谢。

史蒂夫

推荐答案

我看到类似的东西。在 openWithCompletionHandler 中,永远不会调用完成处理程序。在 saveToURL 中,该应用程序完全冻结。至于你,这只发生在5.1模拟器中。 5.0和现在6.1都没问题。

I see something similar. In openWithCompletionHandler the completion handler is never called. In saveToURL, the app freezes completely. As for you this only happens in the 5.1 simulator. 5.0 and now 6.1 are fine.

这篇关于在5.1 sim中openWithCompletionHandler概率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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