• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom font for UIAlertAction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom font for UIAlertAction


  • Subject: Re: Custom font for UIAlertAction
  • From: David Duncan <email@hidden>
  • Date: Tue, 15 Dec 2015 09:04:40 -0800

> On Dec 15, 2015, at 8:53 AM, Wojciech Czekalski <email@hidden> wrote:
>
> Yes, you can recursively iterate through the alert view's subviews and check for a UILabel and set the font on it. It's hacky but I don't think there's another way

Do NOT do things like this. The view hierarchy is considered private and the results of any changes you make are not guaranteed to continue working into the future.

>
> Wysłane z iPhone'a
>
> Dnia 15.12.2015 o godz. 15:44 Eric E. Dolecki <email@hidden> napisał(a):
>
>> I am hoping to change the font for the buttons in a UIAlertController (not
>> the color, just the face as the styles give me what I want). It doesn’t
>> appear I can use an attributedString (takes String) - is there any action I
>> can take to achieve this besides subclassing?
>>
>> Eric
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

--
David Duncan


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Custom font for UIAlertAction
      • From: Wojciech Czekalski <email@hidden>
References: 
 >Custom font for UIAlertAction (From: "Eric E. Dolecki" <email@hidden>)
 >Re: Custom font for UIAlertAction (From: Wojciech Czekalski <email@hidden>)

  • Prev by Date: Re: Custom font for UIAlertAction
  • Next by Date: Re: Custom font for UIAlertAction
  • Previous by thread: Re: Custom font for UIAlertAction
  • Next by thread: Re: Custom font for UIAlertAction
  • Index(es):
    • Date
    • Thread