Remote view controller crashes in IOS6 on iPhone4 when opening an SMS view

感情迁移 提交于 2019-12-10 08:04:27

问题


I get the following error message in the output window:

Remote compose controller timed out (NO)!

I have read that the SMS view in IOS6 runs in its own thread which might explain the problem.

Is there any available information about his issue?


回答1:


I faced this same issue (Remote compose controller timed out (NO)!). But when i presented the message composer with 1.0 delay, it showed the message composer. Hope somebody will find this as useful & save their valuable time.

[self performSelector:@selector(showLaterThisSMS:) 
           withObject:messageComposeViewController
           afterDelay:1.0f];


-(void)showLaterThisSMS:(MFMessageComposeViewController*)messageComposeViewController{

    [self presentViewController:messageComposeViewController
                       animated:YES
                     completion:nil];

}



回答2:


Helping another user related to a UIActivityViewController reports "Remote compose controller timed out", we concluded that the problem was a specific device and when he rebooted the device, the problem disappeared.



来源:https://stackoverflow.com/questions/13259047/remote-view-controller-crashes-in-ios6-on-iphone4-when-opening-an-sms-view

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!