There appears to be several solutions out there for people using Xcode, however, I'm using Appcelerator Studio / Titanium and I'm getting this problem:
On iPhone X, I have a <Window>
with extendSafeArea="false"
so that the ToolBar does not go below the area where users can swipe up to go to the iPhone home screen. The <Toolbar>
has a green background with bottom="0"
, which makes it appear in the correct position. However, underneath there is a big white space:
How do I get the green background of the ToolBar to extend to the bottom of the screen?
Update: I have tried setting the Window background colour to the same as the Toolbar - which partially solved the problem, however I then had to set the background colour of the ScrollView to white (for the actual content area above/below the ToolBar). The problem now is that when this screen animates into view (e.g. when clicking an item in a ListView to load this screen), it animates from green to white, because the ScrollView is animating in. This is an ugly animation as it appears to flash green and then fade into the correct colour for the content. Is there another way to do this?