我有一个View控制器,我希望首先将其作为表单呈现给用户,如果需要,稍后在按钮点击时将其显示为全屏。我试过寻找教程,但没找到?
NewViewController *vc = [[NewViewController alloc]init];
vc.delegate = self;
id presentViewController;
if(IPAD) {
presentViewController = [self formSheetControllerWithVC:vc];
}else {
presentViewController = vc;
}
[self presentViewController:presentViewController animated:YES completion:nil];
在我的NewViewController中,我可以使用按钮或其他东西使其全屏显示吗?