I ran into this problem as well where certain views will sometimes stay dimmed when they should return to their normal color after dismissing a UIAlertView
. I believe it is a bug in iOS 7.0 (or possibly 7.1). I put this workaround in my AppDelegate
:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
if (NSFoundationVersionNumber > NSFoundationVersionNumber_iOS_6_1) {
self.window.tintAdjustmentMode = UIViewTintAdjustmentModeNormal;
}
return YES;
}
This prevents all views from dimming in the first place, which in turn keeps all your views in your app from staying dimmed.