|
Post by jontara on Oct 1, 2017 22:25:55 GMT
Is there any built-in way in Rhodes to set the status bar appearance? Not just transparent/not transparent. I need to change the text color.
Or will be need a native extension?
(I could swear I've done this in the past.
I tried setting it in build.yml, but didn't work:
iphone: info_plist_data: UIStatusBarStyle: 'lightContent' UIViewControllerBasedStatusBarAppearance: false
|
|
|
Post by jontara on Oct 1, 2017 22:36:48 GMT
Apparently it should be 'UIStatusBarStyleLightContent' not 'lightContent'.
But doesn't seem to work either.
Testing yet though with real device, as there seem to be differences between simulator and device!
|
|
|
Post by fnllc on Oct 26, 2017 10:12:47 GMT
|
|
|
Post by Dmitry Soldatenkov on Oct 26, 2017 19:10:11 GMT
No, UIBarStyleBlack used only for making of UIToolbar and only for iOS < 7.0. It is not related to device's status bar.
|
|
|
Post by Dmitry Soldatenkov on Oct 26, 2017 19:16:31 GMT
As I see for change device's status bar in app we should make changes in Info.plist and also call some code in runtime: stackoverflow.com/questions/45372550/preferredstatusbarstyle-is-not-workingSo you can add your code in app delegate located in generated XCode project : /project/iphone/Classes/ Do not forget call didFinishLaunchingWithOptions from base class (RhodesBaseDelegate)
|
|