采用分类的形式,给 UIViewController 增加一个分类,写入方法
@implementation UIViewController (iOS13)
- (UIModalPresentationStyle)modalPresentationStyle{
return UIModalPresentationFullScreen;
}
@end
采用分类的形式,给 UIViewController 增加一个分类,写入方法
@implementation UIViewController (iOS13)
- (UIModalPresentationStyle)modalPresentationStyle{
return UIModalPresentationFullScreen;
}
@end