Please use [code]code here...[/code] tags when posting code.
Full example:
B4X:
Private Sub Button1_Click
Dim cvs As Canvas
cvs.InitializePDF(xui.DefaultFolder, "1.pdf", 612, 792)
cvs.DrawCircle(100, 100, 50, xui.Color_Red, True, 0)
cvs.Refresh
cvs.Release
WebView1.LoadUrl(xui.FileUri(xui.DefaultFolder, "1.pdf")) 'show the saved pdf with WebView.
End Sub
Obviously the file was created but when I look under the files folder or even search for 1 or 1.pdf I never see anything. So where does this file reside that I cannot see it when I look in the Files Folder on the iPhone, even though I can use it in code?
#PlistExtra: LSSupportsOpeningDocumentsInPlaceUIFileSharingEnabled All files in File.DirDocuments / XUI.DefaultFolder will be accessible from the Files app (and iTunes as well).