标签:引入 native nat 状态 led enabled ini cti ons
1、ReactNative 开发中如何去掉iOS状态栏的"Loading from..." 等淡黑色的弹框,很难看!
在 AppDelegate.h 中引入:
#import <React/RCTDevLoadingView.h>
然后在:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions ;中设置
[RCTDevLoadingView setEnabled:NO] ;即可,全局性的
标签:引入 native nat 状态 led enabled ini cti ons
原文地址:https://www.cnblogs.com/richard-youth/p/9791173.html