iOS Question Getting a white screen on the emulator

wl

Well-Known Member
Licensed User
Longtime User
Hi,

I tried to run my first app on the Mac emulator (XCode) but only get a white emulator screen.

This is what I did:
- installed XCode on the MAC
- set up the B4I environment (java path + config of the B4IBuilder): selected a path for the Keys (but did NOT generate any keys)
- created a simple layou ("Main")
- set the namespace
- added Page1.RootPanel.LoadLayout("Main") before NavControl.ShowPage(Page1)

When I run the application (debug), the emulator starts on the MAC (iPhone 6s plus) but it only shows a white screen.

Thanks
 

wl

Well-Known Member
Licensed User
Longtime User
OK, it seemed this was caused by the fact the resolution of the iPhone 6s was too large.

Now it works, but the emulator displays the controls in a very basic way: everything black on white (regardless of colors I choose in the designer) and no borders around buttons ...

IS this normal behavior of the emulator ?

Thanks
 
Upvote 0

wl

Well-Known Member
Licensed User
Longtime User
Ok, figured out I need to set the border of a button and can change the font color, but the background color of a button for example does not do anything on the emulator: backgrounds remain white ?
 
Upvote 0
Top