iOS Question B4i - How to Hide the TopBar

WebQuest

Active Member
Licensed User
Hi Community, I am trying to hide the topBar of my App. I have followed the instructions of an Erel guide but the TopBar continues to be visible. Probably that function is deprecated I am doing something wrong! Anyone know how I can fix it?

Erel's code
B4X:
1. Add this attribute:
#PlistExtra: <key>UIViewControllerBasedStatusBarAppearance</key><false/>
2. Add this code:

Dim no As NativeObject = app
no.RunMethod("setStatusBarHidden:animated:", Array(True, False))
 

WebQuest

Active Member
Licensed User
Perfect thanks I hadn't thought about it! instead how do i set the swipe left to go to the previous page?
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
how do i set the swipe left to go to the previous page?
set this to "Application_Start"
B4X:
Dim no As NativeObject=NavControl
no.GetField("interactivePopGestureRecognizer").RunMethod("setDelegate:",Array(Null))
 
Upvote 0
Top