iOS Question B4xPages without navigation bar

Israel Gallegos

Member
Licensed User
I am trying use B4xPages but it just works if the navigation bar is visible

Is there any way of use B4xPages without the navigation bar or any other idea?
i want get this effect to return page

Can you help me, please?
IMG_34EF702600B0-1.jpeg
 

Israel Gallegos

Member
Licensed User
Immersive mode is an Android feature.

I think that you are confusing different things. B4XPages has nothing to do with the swipe gesture.
Ok Thank you for solve that question
I tried setting my app with NavigationControl = false, but it only works when the property is True

is there a property that keeps swipe gesture function without NavigationControl = True??
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
is there a property that keeps swipe gesture function without NavigationControl = True??
I'm using this code and it's working well:
Project Attributes:
    #PlistExtra:<key>UIStatusBarStyle</key>
    #PlistExtra:<string>UIStatusBarStyleLightContent</string>
    #PlistExtra:<key>UIViewControllerBasedStatusBarAppearance</key>
    #PlistExtra:<false/>
Application_Start:
NavControl.NavigationBarVisible = False
 
Upvote 1

Israel Gallegos

Member
Licensed User
I'm using this code and it's working well:
Project Attributes:
    #PlistExtra:<key>UIStatusBarStyle</key>
    #PlistExtra:<string>UIStatusBarStyleLightContent</string>
    #PlistExtra:<key>UIViewControllerBasedStatusBarAppearance</key>
    #PlistExtra:<false/>
Application_Start:
NavControl.NavigationBarVisible = False
Perfect thanks, Works fine!!!
Other question with that attribute is possible disable the return function to login page
 
Upvote 0

Ilya G.

Active Member
Licensed User
Longtime User
I'm using this code and it's working well:
Project Attributes:
    #PlistExtra:<key>UIStatusBarStyle</key>
    #PlistExtra:<string>UIStatusBarStyleLightContent</string>
    #PlistExtra:<key>UIViewControllerBasedStatusBarAppearance</key>
    #PlistExtra:<false/>
Application_Start:
NavControl.NavigationBarVisible = False

Can you please tell me if this feature still works? I can't use it on iPhone 7 with IOS 15.7.7
 
Upvote 0

Ilya G.

Active Member
Licensed User
Longtime User
Yes it still works.

I did this, but the back gesture doesn't work, what did I do wrong?

Main:
#Region  Project Attributes

    #PlistExtra: <key>UIStatusBarStyle</key><string>UIStatusBarStyleDarkContent</string>
    #PlistExtra: <key>UIViewControllerBasedStatusBarAppearance</key><false/>
#End Region

B4X:
Private Sub Application_Start (Nav As NavigationController)
    NavControl = Nav
    NavControl.NavigationBarVisible = False

    Dim PagesManager As B4XPagesManager
    PagesManager.Initialize(NavControl)
End Sub
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
I'm using this code in my projects and it works:
B4X:
    #PlistExtra:<key>UIStatusBarStyle</key>
    #PlistExtra:<string>UIStatusBarStyleLightContent</string>
    #PlistExtra:<key>UIViewControllerBasedStatusBarAppearance</key>
    #PlistExtra:<false/>
B4X:
NavControl.NavigationBarVisible = False
Dim no As NativeObject=NavControl
no.GetField("interactivePopGestureRecognizer").RunMethod("setDelegate:",Array(Null))
 
Upvote 0

Ilya G.

Active Member
Licensed User
Longtime User
I'm using this code in my projects and it works:
B4X:
    #PlistExtra:<key>UIStatusBarStyle</key>
    #PlistExtra:<string>UIStatusBarStyleLightContent</string>
    #PlistExtra:<key>UIViewControllerBasedStatusBarAppearance</key>
    #PlistExtra:<false/>
B4X:
NavControl.NavigationBarVisible = False
Dim no As NativeObject=NavControl
no.GetField("interactivePopGestureRecognizer").RunMethod("setDelegate:",Array(Null))

This works with:

B4X:
Dim no As NativeObject=NavControl
no.GetField("interactivePopGestureRecognizer").RunMethod("setDelegate:",Array(Null))

Thanks!
 
Upvote 0
Top