Re: Supporting dynamic type
Re: Supporting dynamic type
- Subject: Re: Supporting dynamic type
- From: Vincenzo Rubano <email@hidden>
- Date: Tue, 10 Oct 2017 13:06:58 +0200
Hi Clare,
thank you so much for your very detailed reply, it helps a lot! I’d need some
more clarifications.
> Il giorno 09 ott 2017, alle ore 03:00, Clare Kasemset <email@hidden> ha
> scritto:
>
> Starting in iOS 11, the best way to support dynamic type for navigation
> controllers is to access its navigationBar property and then set the
> prefersLargeTitles property to true. This will allow the bar to scale as
> needed for Dynamic Type, in the same way that navigation bars across the
> system do.
>
Thanks. I think I’ll use the prefersLargeTitles property as soon as I can
leverage the iOS 11 SDK, perhaps wrapping it in an availability check as the
app should support older iOS versions. What about the eventual prompt shown on
top of the UINavigationBar and the UIToolbar shown on the bottom of the
UINavigationController?
> I am not sure if there is an equivalent property for web views. It is
> possible that you may need to reload the webpage when the
> UIContentSizeCategoryDidChangeNotification gets posted.
>
OK, I’ll check this with a sighted tester unless I can figure out a way to know
how the font changes by using VoiceOver (I’m blind). But anyways reloading the
page when the UIContentSizeCategoryDidChangeNotification gets fired is easy to
implement.
> Currently there is no way to customize the font of the search text.
>
Does it mean that it will look bad when the view that contains it scales to
accomodate dynamic type? If so, would you recommend not supporting dynamic type
in that screen? Basically it is an advanced search screen shown modally that
contains a static UITableView, whose sections contain respectively the search
field and some filters that can be activated by pressing on the corresponding
cells.
> I don't believe there is API to customize the fonts in this view.
>
Does it mean that AVPlayerViewController playback controls do not scale to
accomodate dynamic type? And what about subviews added to the
contentOverlayView?
> Please do file bugs about the accessibility regressions in Xcode 9, if you
> haven't already. Thanks!
>
I’ve already done that for most of them, let me know if giving you their ID
could help ;)
Thanks again for your very detailed reply!
>>
>> Vincenzo Rubano
>>
>> NVApple team
>> https://www.nvapple.it/about-us
>>
>>
>>> Il giorno 06 ott 2017, alle ore 14:08, Clare Kasemset <email@hidden>
>>> ha scritto:
>>>
>>> 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