iOS Question UIDocumentPickerViewController No se presenta

Israel Gallegos

Member
Licensed User
Longtime User
I added the library iUI 8 (version 1.62)
I create my object DocumentPickerViewController in my code and the event click in my page

[CODE lang="b4x" title="UIDocumentPickerViewController"]Private Sub Page1_Click
Dim DocumentPicker As DocumentPickerViewController
DocumentPicker.InitializeImport("picker", Array("public.image"))
DocumentPicker.Show(pageExamen, Button1)
Wait For Picker_Complete (Success As Boolean, URLs As List)
If Success Then
Log(URLs.Get(0))
End If
End Sub[/CODE]


The code runs but the UIDocumentPickerViewController no shows

I am using pages, can someone help me please?
Note* In my application I do not have visible the navigation bar or my toolbar
 
OK, When you say "button", you mean that any button type object that I have in my layout will work or it should be a button within the toolbar


I have a button object in my layout, it is the button that I put in my code, also I tried with a panel object and Rootpanel of the page but not works


[CODE lang="b4x" title="DocumentPickerViewController"] Dim DocumentPicker As DocumentPickerViewController
DocumentPicker.InitializeImport("picker", Array("public.image"))
DocumentPicker.Show(pageExamen, Button1) [/CODE]
 
Upvote 0
Back
Top