2

我使用 Document Picker Extension 和 Document Porvider Extension 构建我的应用程序,它们在 iOS8.3 之前运行良好。

在 iOS 8.3 中,如果我调用了 dismissGrantingAccessToURL ,什么都不会发生。Picker 的视图控制器没有关闭,并且没有调用主机应用程序的委托函数didPickDocumentAtURL。没有任何错误或警告消息。它只是......什么也没发生!!!,就像我没有调用这个函数一样。

有人也有这个问题吗?

XCode:6.3 iOS:8.3

4

1 回答 1

0

We fixed this by removing the local property named navigationController that we redefined in our custom DocumentPickerVC. Turns out in 8.3 and later you have access to self.navigationController and by overriding the property you break Apples dismissal functions.

于 2015-05-05T18:34:14.453 回答