iOS Question [Solved] NavigationBar not visible in release mode

yves67

Active Member
Licensed User
Longtime User
Hello,
In debug mode no problem
but in release mode the NavigationBar is not visible, I have a black zone, at the bottom of the screen, with no buttons ??

in my code I have :

NavControl = Nav
NavControl.NavigationBarVisible = True ' sets the NavigationBar to visible (by default)
NavControl.ToolBarVisible = True ' sets the ToolBar to visible

where is the problem ?

Thanks for any help
Yves
 

yves67

Active Member
Licensed User
Longtime User
In the designer I have enable the two bars
and if I put a button in the top bar, I can see it in release mode
but no tool bar at the bottom ??
 
Upvote 0

yves67

Active Member
Licensed User
Longtime User
I am developping an application just for Ipad and I put #Target Ipad
if I add Iphone to the #Target I see the toolbar ......
not normal.... but it works this way...
may be Erel have a explanation or solution
Yves
 
Upvote 0

yves67

Active Member
Licensed User
Longtime User
Some more tests :
1-I remove the Iphone on the #target ===> no Toolbar
2-with #Target: Ipad I put the
NavControl.NavigationBarVisible = True ' sets the NavigationBar to visible (by default)
NavControl.ToolBarVisible = True ' sets the ToolBar to visible
AFTER the pagelayout and I see the ToolBar

Erel is right (one more) but what is strange is adding the Iphone on the target, and the toolbarvisible before the page layout it is working
and with Ipad it is not working

anyway, it is better to put the statements after the pageLayout

thanks Erel
Yves
 
Upvote 0
Top