> On Oct 18, 2021, at 10:51 AM, Alex Zavatone <z...@mac.com> wrote:
> 
> 
> 
>> On Oct 18, 2021, at 11:31 AM, David Duncan <david.dun...@apple.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to