MFMessageComposeViewController - 空的收件人和正文

时间:2016-07-20 11:29:19

标签: ios objective-c iphone

MFMessageComposeViewController *controller = [[MFMessageComposeViewController alloc] init];
if([MFMessageComposeViewController canSendText]){
    controller.messageComposeDelegate = self;
    controller.body = @"Hi! Check out this app i'm using to swap goods!";
    controller.recipients = @[@"0932223223"];
    [self presentViewController:controller animated:YES completion:nil];
}

邮件编辑器已打开,但收件人和邮件正文为空(下图)。 Image

0 个答案:

没有答案