Ich muss Text und URL zu Message App freigeben.So teilen Sie URL und Text in Masseage App mit swift 3
if (MFMessageComposeViewController.canSendText()) {
let controller = MFMessageComposeViewController()
//controller.subject = "http://www.appzoy.com"
//controller.attachments?.append(["url" : URL(string : "http://www.appzoy.com")!])
//controller.addAttachmentURL(URL(string : "http://www.appzoy.com")!, withAlternateFilename: "")
controller.body = "Hey I just gave an Awesome Assessment on UAssess App you can also try it. I scored \(String(describing: myScore!)) , Try to beat my score"
controller.messageComposeDelegate = self
self.present(controller, animated: true, completion: nil)
}
else {
Helper.sharedInstance.Print("No Message Composer Present" as AnyObject)
}.
Ich versuche auch URL passieren, aber es wird nicht auf die Nachricht App Wer weiß, wie URL Link und Text in der Nachricht App zu teilen.
wollen Text und URL als SMS direkt senden? – ivarun
Ja @ivarun Ich möchte Text und URL als SMS senden. – kishor0011