iOS Question DocumentPickerViewController with ios16

angel_

Well-Known Member
Licensed User
Longtime User
In my app I don't have buttons in the navigation bar, when I try to launch the DocumentPickerViewController window through an object, for example label, in ios16 the window is not shown.

B4X:
Private Sub Load
    #if B4A
    Wait For (FileHandler1.Load) Complete (Result As LoadResult)
    #else if B4i
    Wait For (FileHandler1.Load(Me, Label1)) Complete (Result As LoadResult)
'    Wait For (FileHandler1.Load(Me, B4XPages.GetNativeParent(Me).TopRightButtons.Get(1))) Complete (Result As LoadResult)
    #end if
    HandleLoadResult(Result)
End Sub
)
 

Attachments

  • TextEditor.zip
    172.4 KB · Views: 117

angel_

Well-Known Member
Licensed User
Longtime User
I solved it with this:

B4X:
Wait For (FileHandler1.Load(Me, B4XPages.GetNativeParent(Me))) Complete (Result As LoadResult)
 
Upvote 0
Solution
Top