Re: Accessibility UIContentSizeCategory or current accessibility font setting
Re: Accessibility UIContentSizeCategory or current accessibility font setting
- Subject: Re: Accessibility UIContentSizeCategory or current accessibility font setting
- From: David Duncan via Cocoa-dev <email@hidden>
- Date: Mon, 18 Oct 2021 11:15:57 -0700
> On Oct 18, 2021, at 10:51 AM, Alex Zavatone <email@hidden> wrote:
>
>
>
>> On Oct 18, 2021, at 11:31 AM, David Duncan <email@hidden> wrote:
>>
>> In general it's also preferred that you look at the traitCollection of the
>> most relevant view for this information – there are contexts for which the
>> content size category may not match the global value (and there is API on
>> UIView to restrict the overall range that you can apply as well). This also
>> means you can just use traitCollectionDidChange as your notification.
>
> Is that issued when the program or screen first starts up? I was using that
> a few weeks ago for other accessibility settings, but wasn’t sure if it’s
> issued when the font first appears, because there is no change.
Generally trait collection values should be reasonably correct at
initialization time, anytime they change after that will send a
traitCollectionDidChange call.
>
> Thanks
> Alex Zavatone
>
>
_______________________________________________
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