是否有可能將NSMutableAttributedString設置爲AlertAction的標題? 我的目標是在UIAlertAction的標題中用一個好的設計形象化數學表達式。作爲UIAlertAction的標題NSMutableAttributedString Swift
let action = UIAlertAction(title: myNSMutableAttributedString, style: UIAlertActionStyle.default) {(result : UIAlertAction) -> Void in
}
在此先感謝您的幫助。
Sooo你怎麼試試? – LinusGeffarth
我把標題:String(描述:myNSMutableAttributedString)但顯然不是好的方法 – Carlo