iOS 13 Xcode 11 运行遇到的问题

1、模态出出来的控制器问题
ios 13 关于模态出来的控制器,问题:全屏和预留导航栏。下拉返回
QZLoginAndRegistVC *vc = [[QZLoginAndRegistVC alloc] init];

UINavigationController *navigation = [[UINavigationController alloc] initWithRootViewController:vc];
WeakSelf(self);

//设置为全屏时显示即可
navigation.modalPresentationStyle = UIModalPresentationFullScreen;
dispatch_async(dispatch_get_main_queue(), ^{
[weakself presentViewController:navigation animated:YES completion:^{

    }];
});

你可能感兴趣的:(iOS 13 Xcode 11 运行遇到的问题)