Supporting dynamic type
Supporting dynamic type
- Subject: Supporting dynamic type
- From: Vincenzo Rubano <email@hidden>
- Date: Fri, 6 Oct 2017 12:00:41 +0200
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