<div dir="ltr">Hi,<div><br></div><div>I am having problems with UIDocumentBrowserViewController Bug in Xcode 9 Beta 2, was working with beta 1. </div><div><br></div><div>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.</div><div><br></div><div>EG If you start a new Documents project and modify the function below to include the print statement given:</div><div><br></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"> <span style="color:rgb(186,45,162)">func</span> documentBrowser(<span style="color:rgb(186,45,162)">_</span> controller: <span style="color:rgb(112,61,170)">UIDocumentBrowserViewController</span>, didRequestDocumentCreationWithHandler importHandler: <span style="color:rgb(186,45,162)">@escaping</span> (<span style="color:rgb(112,61,170)">URL</span>?, <span style="color:rgb(112,61,170)">UIDocumentBrowserViewController</span>.<span style="color:rgb(112,61,170)">ImportMode</span>) -> <span style="color:rgb(112,61,170)">Void</span>) {</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(209,47,27)"><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(62,30,129)">print</span><span style="color:rgb(0,0,0)">(</span>"creating document"<span style="color:rgb(0,0,0)">)</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(209,47,27)"><span style="color:rgb(0,0,0)"> ...</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(209,47,27)"><span style="color:rgb(0,0,0)"><br></span></p><p style="margin:0px;line-height:normal"><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px">Then the print statement isn't printed when + on browse page is tapped.</span></p><p style="margin:0px;line-height:normal"><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px"><br></span></p><p style="margin:0px;line-height:normal"><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px">Testing on iPad Pro 12" (original) with latest </span><font color="#000000" face="Menlo"><span style="font-size:11px">iOS 11 beta.</span></font></p><p style="margin:0px;line-height:normal"><font color="#000000" face="Menlo"><span style="font-size:11px"><br></span></font></p><p style="margin:0px;line-height:normal"><font color="#000000" face="Menlo"><span style="font-size:11px">Is this a bug? Am I doing something wrong?</span></font></p><p style="margin:0px;line-height:normal"><font color="#000000" face="Menlo"><span style="font-size:11px"><br></span></font></p><p style="margin:0px;line-height:normal"><font color="#000000" face="Menlo"><span style="font-size:11px">Thanks for any help,</span></font></p><p style="margin:0px;line-height:normal"><font color="#000000" face="Menlo"><span style="font-size:11px"><br></span></font></p><div><div class="gmail_signature"> -- Howard.<br></div></div>
</div></div>