The modal look of iOS 7 makes the buttons gray (disabled)

I upgrade the application to iOS 7 and run into a problem when all the buttons turn gray after displaying a modal view. However, they are still available for viewing. This only happens with modal views, not popovers.

ios7 screen shot with blue buttons

ios7 screen shot displaying modal view

ios7 screen shot with gray buttons

+3
source share
3 answers

Since @CarmeloS indicates the color of the hue, most likely your problem. Take a look at UIAppearance and the other view / viewcontroller above in the heirachy view, as I believe this is now an inherited trait. That way you can install it elsewhere.

+1
source

, tintColor, UIView.tintColor.

+2

Try using tintAdjustmentMode = UIViewTintAdjustmentModeNormalfor elements with color shades.

+1
source

All Articles