iOS 7模态视图使按钮变灰(禁用) [英] iOS 7 modal view makes buttons grey (disabled)

查看:347
本文介绍了iOS 7模态视图使按钮变灰(禁用)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将应用升级到iOS 7,并且在显示模态视图后遇到所有按钮变为灰色的问题。它们仍然可以点击。它只发生在模态视图而不是弹出窗口。

I'm upgrading an app to iOS 7 and am running into a problem where all buttons turn to grey after I display a modal view. They're still clickable though. It only happens with modal views and not popovers.

推荐答案

由于@CarmeloS指出色调颜色很可能是你的问题。看看UIAppearance和/或视图heirachy中更高的另一个视图/视图控制器,因为我相信这现在是一个继承的特性。所以你可能已将它设置在别处。

As @CarmeloS points out the tint color is most likely your problem. Look at UIAppearance and or another view/viewcontroller higher up in the view heirachy as I believe this is now an inherited trait. So you may have set it it elsewhere.

这篇关于iOS 7模态视图使按钮变灰(禁用)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆