hi on ios 13 we have a very nice modal presentation style mode to show a page like a card presentation. how can we do it in b4i? https://medium.com/@hacknicity/view-controller-presentation-changes-in-ios-13-ac8c901ebc4e...
temporarily the code works, i see the 2nd page, but then the app crashes, without error.
B4X:
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
'load the layout to Root
Root.LoadLayout("frm_settings")
Dim no As NativeObject = B4XPages.GetNativeParent(B4XPages.GetPage("b4xp_settings"))
no.SetField("modalTransitionStyle",0)
Dim no2 As NativeObject = B4XPages.GetNativeParent(B4XPages.MainPage)
no2.RunMethod("presentModalViewController:animated:", Array(B4XPages.GetNativeParent(B4XPages.GetPage("b4xp_settings")), True))
End Sub