我试图将模态视图控制器显示为UIPresentationFormSheet.视图出现,但我似乎无法调整大小.我的XIB具有适当的高度和宽度,但是当我这样调用它时它似乎被覆盖了:
composeTweetController = [[ComposeTweet alloc] initWithNibName:@"ComposeTweet" bundle:nil];
composeTweetController.modalPresentationStyle = UIModalPresentationFormSheet;
[self presentModalViewController:composeTweetController animated:TRUE];
Run Code Online (Sandbox Code Playgroud)
有什么想法吗?我正在使用iPhone SDK 3.2 beta 4