Monday, June 3, 2024
HomeiOS Developmentios - React Native - UIViewControllerBasedStatusBarAppearance warning

ios – React Native – UIViewControllerBasedStatusBarAppearance warning


I am studying React Native with Expo, and I’m at present on the ‘React Navigation’ stage the place I’m encountering an issue.
I have not messed with the standing bar but, however I get the next warning:

If you wish to change the looks of standing bar, it's a must to change     UIViewControllerBasedStatusBarAppearance key within the Information.plist to YES

I attempted to try this within the app.json file by including within the ios key:

"infoPlist": {
    "UIViewControllerBasedStatusBarAppearance": true
}

nevertheless it didn’t resolve the issue.

Listed below are the complete logs:

If you wish to change the looks of standing bar, it's a must to change     UIViewControllerBasedStatusBarAppearance key within the Information.plist to YES

RNScreens::RNScreensTurboModule::getPropertyNames(fb::jsi::Runtime&)
    RNSScreenWindowTraits.mm:18
RCTViewManagerModuleNameForClass
RCTViewManagerModuleNameForClass
RCTViewManagerModuleNameForClass
3A5F992A-D1CD-312E-BD2E-F7C66343A417
3A5F992A-D1CD-312E-BD2E-F7C66343A417
RCTViewManagerModuleNameForClass
RCTSurfaceStageIsPreparing
RCTSurfaceStageIsPreparing
B7D9D0A6-2414-37F2-9D03-1A25A474E2CF
B7D9D0A6-2414-37F2-9D03-1A25A474E2CF
B7D9D0A6-2414-37F2-9D03-1A25A474E2CF
_dispatch_main_queue_callback_4CF
3A5F992A-D1CD-312E-BD2E-F7C66343A417
3A5F992A-D1CD-312E-BD2E-F7C66343A417
CFRunLoopRunSpecific
GSEventRunModal
7BF01CFC-23F1-326A-AFD8-AD967FFECE28
UIApplicationMain
fundamental
7BE2B757-3B3D-3E91-8CB7-74F3887660C7

Oddly, I can nonetheless modify the standing bar however I nonetheless get the error.



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments