美文网首页
iOS 13 Xcode 11 运行遇到的问题

iOS 13 Xcode 11 运行遇到的问题

作者: 山野朗朗 | 来源:发表于2019-09-26 14:54 被阅读0次

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 运行遇到的问题

      本文链接:https://www.haomeiwen.com/subject/svxnuctx.html