ios13更新presentViewController默认的弹出方式
要设置要跳转的控制器的属性
从ViewController1跳转到viewControlle2,需要在viewControlle1里面设置viewControlle2的modalPresentationStyle,就解决了
ViewController2 *viewControlle2=[ViewController2 new];
viewControlle2.modalPresentationStyle = UIModalPresentationFullScreen;
[self presentViewController:viewControlle2 animated:YES completion:nil];