1、异常崩溃,如果工程中使用了UMCCommon会报一下错误:
[_LSDefaults sharedInstance]: unrecognized selector sent to class
解决办法:升级UMCCommon为最新版本。
2、iOS 13深色模式,如果APP没做深色适配,需要采取操作,让项目一直处于浅色状态,需要在基础控制器(项目工程的父控制器)设置一下内容:
if (@available(iOS 13.0, *)) {
self.overrideUserInterfaceStyle = UIUserInterfaceStyleLight;
} else {
// Fallback on earlier versions
}
3、在模态弹出新视图的操作是presentViewController:iOS13过后默认为卡片的形式,不是全屏的形式了
方法为:-(void)presentViewController:(UIViewController *)viewControllerToPresent animated:(BOOL)flag completion:(void (^)(void))completion;
可以将要弹出的视图modalPresentationStyle 设置为UIModalPresentationFullScreen
即:
viewControllerToPresent.modalPresentationStyle = UIModalPresentationFullScreen;
网友评论