Re: Supporting dynamic type
Re: Supporting dynamic type
- Subject: Re: Supporting dynamic type
- From: Clare Kasemset <email@hidden>
- Date: Fri, 06 Oct 2017 21:08:15 +0900
Hi Vincenzo,
Which controls are you interested in? For example, UIButton gives you access to
the underlying UILabel, so you can set the property on that instead. Or are you
manually drawing text?
Clare
iPhoneから送信
2017/10/06 19:00、Vincenzo Rubano <email@hidden>のメール:
> Hi all,
>
> since iOS 10.0 UIKit provides the UIContentSizeCategoryAdjusting trait
>
> https://developer.apple.com/documentation/uikit/uicontentsizecategoryadjusting
>
> which is very handy for supporting dynamic type without writing a ton of
> boilerplate code. By using it you can enable support for dynamic type from
> the UIAppearance proxy, which is even handier!
>
> However, according to docs only UILabel, UITextField and UITextView adopt it.
> What about other controls? Do you need to reload fonts the old way or do they
> have some “special” magic in order to support dynamic type properly? Or
> perhaps they can be coerced in some way to adopt the trait?
>
> Thanks in advance for your support
>
>
> Vincenzo Rubano
>
> NVApple team
> https://www.nvapple.it/about-us
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Accessibility-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden