是groupTableViewBackgroundColor德precated在iOS 6? [英] is groupTableViewBackgroundColor deprecated on iOS 6?

查看:341
本文介绍了是groupTableViewBackgroundColor德precated在iOS 6?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是在测试我的应用程序的iOS 6.0和X code 4.5GM,我已经建立了这样的观点:

I was just testing my app with iOS 6.0 and Xcode 4.5GM and I have set up a view like this:

[self.view setBackgroundColor:[UIColor groupTableViewBackgroundColor]];

所以,认为有比普通表视图相同的模式。

So, the view has the same pattern than a common table view.

这适用于iOS 4和5罚款,但在iOS 6中,它只是给了我一个白色的背景。

This works fine on iOS 4 and 5, but in iOS 6 it just gives me a white background.

这是德precated?如果是这样,我怎么能代替它?

Is this deprecated? If so, how can I replace it?

感谢

推荐答案

这个方法将是6.0种子节目中pcated德$ P $
如果你想在你自己的看法的背景下,看起来像表视图的背景下,
那么你应该创建一个空表视图,并把它放在你的内容后面。

This method will be deprecated during the 6.0 seed program If you want to have a background in your own view that looks like the table view background, then you should create an empty table view and place it behind your content.

这篇关于是groupTableViewBackgroundColor德precated在iOS 6?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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