iPhone Status Bar Not Showing Up...!
Posted: Mon Feb 02, 2015 2:30 am
Hello wonderful friends and superheroes all,
I want to deploy my app to iPhone/iPad. I'm working on getting all of the orientation and layout stuff worked out right now, and I have been trying to figure out how to get the native Status Bar to show up. I'm referring to the device's (black) bar at the very top of the screen that shows the battery, signal strength, time, etc.
Right now, my app's Standalone Settings have the "Visible" radio button selected under the "iPhone Status Bar" and "iPad Status Bar" options in the "Status Bar" section of the iOS standalone settings. I have also scripted the following if statement into the PreOpenStack handler of the stack in question:
if the platform is "iPhone" then
iPhoneUseDeviceResolution true, true
iPhoneSetStatusBarStyle "opaque"
end if
Even though both of those are in place, the black bar does not show up; the white text that shows up on top of it just overlaps with my app. The app itself goes all the way to the top of the screen. I'm thinking there is absolutely NO WAY that this has not been accounted for in LiveCode... I must be doing something wrong.
I have been puzzling over this issue for many months now, and have until this point relied on a workaround that in no way appeals to me any longer, since it is very intricate and seems to be unnecessary, given that there seem to be TWO options that SHOULD set this thing to show up on its own.
Thanks!
Phil E.
I want to deploy my app to iPhone/iPad. I'm working on getting all of the orientation and layout stuff worked out right now, and I have been trying to figure out how to get the native Status Bar to show up. I'm referring to the device's (black) bar at the very top of the screen that shows the battery, signal strength, time, etc.
Right now, my app's Standalone Settings have the "Visible" radio button selected under the "iPhone Status Bar" and "iPad Status Bar" options in the "Status Bar" section of the iOS standalone settings. I have also scripted the following if statement into the PreOpenStack handler of the stack in question:
if the platform is "iPhone" then
iPhoneUseDeviceResolution true, true
iPhoneSetStatusBarStyle "opaque"
end if
Even though both of those are in place, the black bar does not show up; the white text that shows up on top of it just overlaps with my app. The app itself goes all the way to the top of the screen. I'm thinking there is absolutely NO WAY that this has not been accounted for in LiveCode... I must be doing something wrong.
I have been puzzling over this issue for many months now, and have until this point relied on a workaround that in no way appeals to me any longer, since it is very intricate and seems to be unnecessary, given that there seem to be TWO options that SHOULD set this thing to show up on its own.
Thanks!
Phil E.