如何在MFMessageComposeViewController中获取可编辑的文本

时间:2016-11-15 09:18:16

标签: ios iphone mfmessagecomposeview

如何在MFMessageComposeViewController中获取已编辑的文本消息

if ([MFMessageComposeViewController canSendText]) {
    // for appear message view
    MFMessageComposeViewController *messageVC = [[MFMessageComposeViewController alloc] init];
    messageVC.messageComposeDelegate = self;
    messageVC.body = messageString;
    messageVC.recipients = @[@"53645454", @"5445454545"];

    // prepare message view for send Message
    [self presentViewController:messageVC animated:NO completion:NULL];
}

0 个答案:

没有答案