0

I searched all over the net but couldn't find a solution to get this working under iOS 7. I read that iOS 7 really limited the customization of alert views somehow. (I don't fully understand what is meant under this). Anyways, the question is: How could I change the font of the title text of an alert view under iOS 7 and later?

Cheers!

Balázs Vincze
  • 3,550
  • 5
  • 29
  • 60
  • Learn how to search the net! I found [this](http://stackoverflow.com/q/21635414/1971013) immediately. – meaning-matters Aug 20 '15 at 22:52
  • I looked at the link, I read that already and that is why I asked the question. I am looking for a workaround, not another answer saying why you should not do it.. Cheers! – Balázs Vincze Aug 21 '15 at 14:14

2 Answers2

1

Here, UIAlertView class you need to use as it is. There is no property for setting font. You need to develop new class works as UIAlertView and then use it to your app. This will help you to choose suitable alertview for your application

Maulik Rajani
  • 639
  • 8
  • 17
0

Either use an existing third-party alert, or walk through the UIAlertView's subviews until you find UILabel objects and try to set their font property. Not sure if the latter will work, but it's a common trick to make style changes to UIKit objects.

meaning-matters
  • 21,929
  • 10
  • 82
  • 142