You know how in accessibility, the user can set the home button to triple-click and make that the "inverse color mode"? Is there a way for your app to detect if the phone is in the inverse color mode? Thanks.
1 Answer
Yes, and it's simple. You can call
UIAccessibilityIsInvertColorsEnabled();
which return a BOOL
for whether or not inverted colors is currently on.
You can also observe
UIAccessibilityInvertColorsStatusDidChangeNotification
to get notified when the user turns on or off inverted colors.
-
Thanks David. That way I can fix the colors so they still look right in inverted mode. Commented Oct 1, 2013 at 6:18