如何通过 UIActivityController 分享?

How to share by UIActivityController?

我用 UIActivityViewController 创建了 @IBAction

@IBAction func shareButton(_ sender: Any) {
        let text1 = "Перевод величины Годы в количестве \(year) лет."
        let text2 = "Месяцы: \(mounthLabel.text!)"
        let text3 = "Недели: \(weekLabel.text!)"
        let text4 = "Дни: \(dayLabel.text!)"
        let text5 = "Часы: \(hourLabel.text!)"
        let text6 = "Минуты: \(minuteLabel.text!)"
        let text7 = "Секунды: \(secundLabel.text!)"
        let URL0 = "Скачать конвертер величин по ссылке:"
        let URL = "https://itunes.apple.com/us/app/unit-converter/id1329406653?l=ru&ls=1&mt=8"
        let space = ""
        let space2 = ""


        let activityController = UIActivityViewController(activityItems: [text1, space, text2, text3, text4, text5, text6, text7, space2, URL0, URL], applicationActivities: nil)
        present(activityController, animated: true, completion: nil)
    }

一切正常,但在导出到应用程序时,常规“注释”仅保存 text1 的第一行。可能出了什么问题,有什么办法可以解决吗?

它正在工作,但是当我尝试共享到 "Notes" 或 "Facebook" 时,仅共享第一个 text1 字符串。怎么了?

为什么不将它们组合成一个文本呢?类似于:

let text = "Перевод величины Годы в количестве \(year) лет.\n\nМесяцы: \(mounthLabel.text!)\nНедели: \(weekLabel.text!)\nДни: \(dayLabel.text!)\nЧасы: \(hourLabel.text!)\nМинуты: \(minuteLabel.text!)\nСекунды: \(secundLabel.text!)\n\nСкачать конвертер величин по ссылке:\nhttps://itunes.apple.com/us/app/unit-converter/id1329406653?l=ru&ls=1&mt=8"
let activityController = UIActivityViewController(activityItems: [text], applicationActivities: nil)
present(activityController, animated: true, completion: nil)