[swift-users] UIDocumentBrowserViewController Bug in Xcode 9 Beta 2?
Howard Lovatt
howard.lovatt at gmail.com
Fri Jun 30 02:54:22 CDT 2017
Hi,
I am having problems with UIDocumentBrowserViewController Bug in Xcode 9
Beta 2, was working with beta 1.
The symptom is that you can't create a new document, on most pages the +
icon is missing or greyed out. On the browse page it is present and not
greyed out, but doesn't work.
EG If you start a new Documents project and modify the function below to
include the print statement given:
func documentBrowser(_ controller: UIDocumentBrowserViewController,
didRequestDocumentCreationWithHandler importHandler: @escaping (URL?,
UIDocumentBrowserViewController.ImportMode) -> Void) {
print("creating document")
...
Then the print statement isn't printed when + on browse page is tapped.
Testing on iPad Pro 12" (original) with latest iOS 11 beta.
Is this a bug? Am I doing something wrong?
Thanks for any help,
-- Howard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170630/a709b529/attachment.html>
More information about the swift-users
mailing list