我有一个简单的问题,取消选项在消息编写器中不起作用;我搜索了API引用,但是我没有找到可以帮助我的代码行。
我怎么能解决这个问题?
messageComposer.messageComposeDelegate = self
messageComposer.recipients = textMessageRecipients
messageComposer.body = "I'm Lost, I need some Help, Here's my Location)"
self.navigationController?.presentViewController(messageComposer, animated: true){}
self.presentViewController(messageComposer, animated: true, completion: nil)