最近发布App的时候收到了这样的警告:
Invalid Document Configuration - Document Based Apps should support either the Document Browser (UISupportsDocumentBrowser = YES) or implement Open In Place (LSSupportsOpeningDocumentsInPlace = YES/NO). Visit https://developer.apple.com/document-based-apps/ for more information.
原因是代码中使用了UIDocumentInteractionController
解决方法:在Info.plist中添加
<key>UISupportsDocumentBrowser</key>
<true/>
网友评论