Bonjour à tous,
Dans mon apps, j'ai créé un UIAlerController
UIAlertController(title: nil, message: nil, preferredStyle: .ActionSheet)
Dans le UIAlertController, j'ai ajouté des UIAlertAction :
1 2 3
| let beneficiaire: UIAlertAction = UIAlertAction(title: "Bénéficiaires", style: .Default) { action -> Void in }
let carte: UIAlertAction = UIAlertAction(title: "Carte", style: .Default) { action -> Void in }
let document: UIAlertAction = UIAlertAction(title: "Documents", style: .Default) { action -> Void in } |
Je voudrais changer la taille de la police pour les UIAlertAction, pas pour les paramètres du UIAlertController (Là, c'est OK)
Je sais changer la couleur, avec le code :
beneficiaire.setValue(UIColor.cyanColor(), forKey: "titleTextColor")
mais impossible de changer la taille de la police.
Si vous avez une idée, je suis preneur
Partager