1
這裏是呈現視圖控制器爲形式sheet.Its不工作爲什麼UIModalPresentationPageSheet不工作...它總是全屏
的代碼片段它總是作爲全屏幕
UIStoryboard *sb = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
UIViewController *vc = [sb instantiateViewControllerWithIdentifier:@"ViewController2"];
vc.modalPresentationStyle = UIModalPresentationFormSheet;
[self presentViewController:vc animated:YES completion:NULL];
我甚至嘗試。 ..首選的內容大小不起作用...
哪個事件你這樣做?它是在按鈕上點擊還是從Web API調用返回? –