有没有人遇到过这种错误MFMessageComposeViewController
?
我是这样分配和呈现的:
MFMessageComposeViewController *message = [[MFMessageComposeViewController alloc] init];
message.messageComposeDelegate = self;
[[UIApplication sharedApplication].delegate.window.rootViewController presentModalViewController:message animated:YES];
但它呈现出一个空洞的观点并说:
Application tried to push a nil view controller on target <MFMessageComposeViewController: 0x96d1380>.