Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check if Prefer Cross-Fade Transitions is turned on in iOS 13?

Tags:

ios

If Reduce Motion is turned on, we can tell by UIAccessibility.isReduceMotionEnabled.

Now, how about Prefer Cross-Fade Transitions in iOS 13?

Settings -> Accessibility -> VISION section, Motion cell -> (With Reduce Motion on) -> Prefer Cross-Fade Transitions

Screenshot

like image 756
George Avatar asked Nov 06 '25 03:11

George


1 Answers

I don't think they've added this setting as a property of UIAccessibility. The way to hunt for this sort of stuff is to set a breakpoint in your app, run it, and then, when paused, say in the console

(lldb) ty loo UIAccessibility

This gives you a complete printout of the UIAccessibility class, and I don't see anything there that would suggest cross dissolves. You should probably file an enhancement request with Apple.

like image 59
matt Avatar answered Nov 09 '25 00:11

matt