iOS Question Full Screen Mode

b4xscripter

Member
Licensed User
Longtime User
Hi,
I would like to set up my app in order to the status bar having the result similar to the image attachment. Does anyone know how is it possible to do it?

Having the same question for Android, I see that the key is the #FullScreen that Is not defined for B4I.


Thanks in advance
 

Attachments

  • IMG-20171205-WA0005.jpg
    IMG-20171205-WA0005.jpg
    100.6 KB · Views: 171

BillMeyer

Well-Known Member
Licensed User
Longtime User
This should do the trick:


B4X:
Private Sub Application_Start (Nav As NavigationController)

    NavControl = Nav
    Nav.NavigationBarVisible = False

   ' your other code here....

Also have a look HERE
 
Upvote 0

b4xscripter

Member
Licensed User
Longtime User
Dear BillMeyer,

Thank you so much for your help!
Yes, indeed, I resolved the problem with the status bar but I still viewing the little white "bar" as you can see in the attached picture, even with the

B4X:
NavControl = Nav
    Nav.NavigationBarVisible = False

But it is OK, with this thin "bar" my app looks OK. The only think I would like is to set it up to a different color (not white). How to do it with the Nav.NavigationBarVisible set as False?

Thank you!
 

Attachments

  • barra.png
    barra.png
    87.7 KB · Views: 193
Upvote 0

b4xscripter

Member
Licensed User
Longtime User
Just resolved...
I just needed to set up the color for Main (in Designer). See the print screen (Background color)

A little question, how can I do it coding? I would be insterested to change this color depending on the my app's content.
Thanks a lot!
upload_2017-12-8_12-10-1.png
 
Upvote 0
Top