2011-06-27 46 views
-1

MFMessageComposeViewController的示例代码使用presentModalViewController改变视图为“新邮件撰写视图”我可以使用pushViewController:动画:在MFMessageComposeViewController

但我想用pushViewController推MFMessageComposeViewController入堆栈,我试过[self.navigationController pushViewController:controller animated:YES]和[[UINavigationController alloc] initWithRootViewController:picker]都不起作用。

我该怎么做? thx

+0

向我们展示一些代码。 “两者都不起作用。”不够好。首先猜测(从您的有限信息)将是您的视图没有'navigationController'。 – uvesten

回答

1

根据documentation你可以通过只显示使用它。

希望它有帮助。

相关问题