在ios 6.0中不推荐使用组表视图背景颜色 [英] Group table view background color is deprecated in ios 6.0

查看:94
本文介绍了在ios 6.0中不推荐使用组表视图背景颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

是否在iOS 6上弃用了groupTableViewBackgroundColor?

I我在iOS 6的故事板上收到这个警告。我会徘徊看到替换方法,但是因为我正在查看故事板,所以我什么也没找到。如何轻松设置背景颜色?似乎我应该可以从Interface Builder中执行此操作。

I am getting this warning on my storyboard in iOS 6. I would hover to see the replacement method, but since I'm viewing the storyboard it shows me nothing. How can I easily set the background color? Seems like I should be able to do this from the Interface Builder.

推荐答案

打开故事板,检查属性检查器中的所有视图并使用Grouped Table View背景颜色将所有视图更改为任何其他颜色,我将其更改为白色并且所有警告消失。

Open your storyboard, check all views in the Attributes Inspector and change all views with Grouped Table View background color to any other color, I changed mine to white and all warnings went away.

这篇关于在ios 6.0中不推荐使用组表视图背景颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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