【发布时间】:2014-10-07 13:52:25
【问题描述】:
所以我正在测试 Apple 的新 Document Provider 扩展。我正在尝试打开一个 UIDocumentMenuViewController ,并且该部分正在工作。但是,当我尝试单击它呈现的其中一个项目时,它只会取消操作表。即使我单击默认情况下存在的 iCloud 项目,也会发生这种情况。我展示控制器的代码如下:
let type_data = kUTTypeData.__conversion()
let documentMenuViewController = UIDocumentMenuViewController(documentTypes: [type_data], inMode: UIDocumentPickerMode.Import)
navigationController.presentViewController(documentMenuViewController, animated: true, completion: nil)
有人知道为什么会这样吗?
【问题讨论】:
-
没有实现委托方法...哎呀
标签: ios button document ios8 ios-app-extension