iOS Question B4XPages - Stack Pages

Alexander Stolte

Expert
Licensed User
Longtime User
Since I'm on IOS, I see a lot of apps that have StackedPages like this.
How can I achieve this with B4XPages?
IMG_6106.jpg
 

Alexander Stolte

Expert
Licensed User
Longtime User
I found this thread:
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
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
 
Upvote 0
Top