我有联系人列表,我想使用MFMessageComposeViewController
发送短信并通过我的自定义按钮执行操作,而无需打开MFMessageComposer
。我在此方法中编写了操作- (void)messageComposeViewController:(MFMessageComposeViewController *)controller didFinishWithResult:(MessageComposeResult)result
,但是正在显示MFMessageComposer
因此,仅告诉我如何在不显示MFMessageComposer
情况下进行MFMessageComposer
。
This is not the way to do this. You either use MFMessageComposer and then the only thing you can customize comes AFTER the composer finishes its work (via the "didFinishWithResult" delegate method) or you implement your own composer (not recommended). What you are doing is implementing a method that comes after the mail composer is done, which is not what you are trying to achieve.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.