0
HTMLテキストで電子メールを送信するにはどうすればよいですか?Swift:HTMLコンテンツのUIActivityViewController
let subject = "Email test"
let content = "This is some text that I want to share."
// set up activity view controller
let objectsToShare = [content]
let activityViewController = UIActivityViewController(activityItems: objectsToShare, applicationActivities: nil)
activityViewController.setValue(subject, forKey: "Subject")
activityViewController.popoverPresentationController?.sourceView = self.view // so that iPads won't crash
// exclude some activity types from the list (optional)
activityViewController.excludedActivityTypes = [ UIActivityType.airDrop]
// present the view controller
self.present(activityViewController, animated: true, completion: nil)
私はこのコンテンツにいくつかのHTMLタグがあり、HTMLとして解釈されることを望みます。
どうすればいいですか?誰も私にexmapleを提供してもらえますか?あなたはまだ答えを探しているなら、私は知りませんが、あなたがしている場合、あなたは自分のコンテンツを中心にhtmlタグを配置する必要があり