UIDocumentPicker 无法显示 Browse at iOS 11
UIDocumentPicker can not display Browse at iOS 11
我写了一个UIDocumentPicker的程序
但是,如果我在iOS11模拟器上点击"Browse",loading继续显示,无法显示。
需要什么样的回应?
开发环境
- Xcode:版本 9.0 beta 5
- 模拟器:iPhone 7 Plus (iOS 11.0)
错误图片
代码
https://github.com/amarron1/SampleDocumentPicker
class ViewController: UIViewController, UIDocumentPickerDelegate {
let UTIs:[String] = ["public.data"]
// Save to this application from iCloud
@IBAction func importDocumentPicker(_ sender: Any) {
let importPicker = UIDocumentPickerViewController(documentTypes: self.UTIs, in: .import)
importPicker.delegate = self
present(importPicker, animated: true, completion: nil)
}
}
日志
2017-09-06 11:37:54.790680+0900 SampleDocumentPicker[40282:5448334] Unbalanced calls to begin/end appearance transitions for <_UIWaitingForRemoteViewContainerViewController: 0x7fb54c6153b0>.
2017-09-06 11:38:04.101520+0900 SampleDocumentPicker[40282:5448334] [DocumentManager] The view service did terminate with error: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
从表面上看,这是一个模拟器问题。 (iOS 11.0 模拟器)
UIDocumentPicker 在设备上工作正常。
如果有人遇到此问题,请在真实设备上进行测试。
我写了一个UIDocumentPicker的程序
但是,如果我在iOS11模拟器上点击"Browse",loading继续显示,无法显示。
需要什么样的回应?
开发环境
- Xcode:版本 9.0 beta 5
- 模拟器:iPhone 7 Plus (iOS 11.0)
错误图片
代码
https://github.com/amarron1/SampleDocumentPicker
class ViewController: UIViewController, UIDocumentPickerDelegate {
let UTIs:[String] = ["public.data"]
// Save to this application from iCloud
@IBAction func importDocumentPicker(_ sender: Any) {
let importPicker = UIDocumentPickerViewController(documentTypes: self.UTIs, in: .import)
importPicker.delegate = self
present(importPicker, animated: true, completion: nil)
}
}
日志
2017-09-06 11:37:54.790680+0900 SampleDocumentPicker[40282:5448334] Unbalanced calls to begin/end appearance transitions for <_UIWaitingForRemoteViewContainerViewController: 0x7fb54c6153b0>.
2017-09-06 11:38:04.101520+0900 SampleDocumentPicker[40282:5448334] [DocumentManager] The view service did terminate with error: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
从表面上看,这是一个模拟器问题。 (iOS 11.0 模拟器) UIDocumentPicker 在设备上工作正常。
如果有人遇到此问题,请在真实设备上进行测试。