5

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 1

9

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.

1
  • Thanks David. That way I can fix the colors so they still look right in inverted mode.
    – CommaToast
    Commented Oct 1, 2013 at 6:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.