本文介绍了在iOS 4.3模拟器上断开的DocInteraction示例代码(UIDocumentInteractionController)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apple在
(下载:)在4.3上模拟时不起作用。它在4.2上工作正常。我看了看但没有收到任何错误或任何警告。不确定发生了什么。以为我会问这里。我已经报了。它只是加载一个白色屏幕。

The DocInteraction sample code made available by Apple at http://developer.apple.com/library/ios/#samplecode/DocInteraction/Introduction/Intro.html(download: http://developer.apple.com/library/ios/samplecode/DocInteraction/DocInteraction.zip ) does not work when simulating on 4.3. It works fine on 4.2 though. I've looked through but don't get any errors or any warnings. Not really sure what's going on. Thought I'd ask here. I already reported it. It just loads a white screen.

任何想法?

推荐答案

尝试使用以下代码替换行号53 DITableViewController.h

Try replacing the line number 53 with following code in DITableViewController.h

@interface DITableViewController : UITableViewController <QLPreviewControllerDataSource, QLPreviewControllerDelegate,

缺少 QLPreviewControllerDelegate 委托。

这篇关于在iOS 4.3模拟器上断开的DocInteraction示例代码(UIDocumentInteractionController)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 06:07