On the new IPad Pro, the following code does not work, only on iphone-devices:
This code works:
I have tried to call sleep before opening the PhotoLibrary, but nothing. Why is it a problem to call SelectFromPhotoLibrary on an iPad out of an ActionSheet?
Thanks for help...
B4X:
..
Dim Profilbild as Camera
..
Sub ivProfilbild_Click
Dim ProfilbildMenu As ActionSheet
ProfilbildMenu.Initialize("Profilbild", "", "Abbrechen", "", Array As String ("Profilbild ändern"))
ProfilbildMenu.Show(pageInfo.RootPanel)
Wait For Profilbild_Click (item As String)
Select item
Case "Profilbild ändern"
Profilbild.SelectFromPhotoLibrary(Sender, Profilbild.TYPE_IMAGE)
End Select
End Sub
This code works:
B4X:
..
Dim Profilbild as Camera
..
Sub ivProfilbild_Click
Profilbild.SelectFromPhotoLibrary(Sender, Profilbild.TYPE_IMAGE)
End Sub
I have tried to call sleep before opening the PhotoLibrary, but nothing. Why is it a problem to call SelectFromPhotoLibrary on an iPad out of an ActionSheet?
Thanks for help...