Invalid Document Configuration

2018-11-09  本文已影响0人  與世無爭_

最近发布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/>
上一篇下一篇

猜你喜欢

热点阅读