ios - How to know if User disabled transparency in Settings -> Accessibility? -
i'm working on widget / today view extension , i'd adapt design if user disabled transparency effect in settings -> general -> accessibility.
indeed, in case user disabled transparency, overall appearance of notification center different default design ugly.
do know how retrieve settings in order react accordingly?
there accessibility setting reduce transparency i'm not aware of 1 disable it. if former mean starting in ios8 should able use:
bool uiaccessibilityisreducetransparencyenabled()
you can register changes setting using following notification name:
uiaccessibilityreducetransparencystatusdidchangenotification
Comments
Post a Comment