有没有办法在iPhone上观看短信活动(接收,而不是发送)
答案 0 :(得分:1)
功能是:
- (void)messageComposeViewController:(MFMessageComposeViewController *)controller
didFinishWithResult:(MessageComposeResult)result {
feedbackMsg.hidden = NO;
// Notifies users about errors associated with the interface
switch (result)
{
case MessageComposeResultCancelled:
feedbackMsg.text = @"Result: SMS sending canceled";
break;
case MessageComposeResultSent:
feedbackMsg.text = @"Result: SMS sent";
break;
case MessageComposeResultFailed:
feedbackMsg.text = @"Result: SMS sending failed";
break;
default:
feedbackMsg.text = @"Result: SMS not sent";
break;
}
[self dismissModalViewControllerAnimated:YES];
}
答案 1 :(得分:0)
不,这绝对不适用于iOS SDK中的任何API。如果你越狱,我会假设有一种方法,但显然Apple不会在App Store中允许这样做。