According to Apple’s documentation TN3105: Customizing the UIKit status bar style, you can change the status bar appearance in the Info.plist file by adding these keys:
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleLightContent</string>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
(I assume that there are other values besides UIStatusBarStyleLightContent
that are supported too)
This appears to be the template file that Lime uses for an iOS app’s Info.plist:
We can copy that file into your project and customize it.
In your project’s root directory, create a file templates/ios/template/{{app.file}}/{{app.file}}-Info.plist, and copy the contents of Lime’s file linked above into that file.
I see that it already has the UIViewControllerBasedStatusBarAppearance
key already:
<key>UIViewControllerBasedStatusBarAppearance</key>
<::!WIN_FULLSCREEN::/>
You want to remove that, and replace it with the snippet from above.
Then, in your Lime project.xml, add the following line:
<template path="templates"/>
This tells Lime to check your project’s new templates directory for any customized template files. The nice thing is that you don’t need to copy everything from Lime’s default templates. Only the individual files that you want to change from the default.
Note: I haven’t actually tried this to see if it works, but I’m pretty sure that it will.
You’d probably need to create a native extension to do it at runtime. I don’t think that Lime has an API for it.