如何在IOS 6中获得此背景条?

New*_*bee 0 iphone cocoa-touch uiview uiimage ios

在此输入图像描述

我在旧版本中使用了这个背景,在更新到iOS 6.0后我无法在IB中找到任何地方.我堆栈溢出并使用它

self.view.backgroundColor = [UIColor groupTableViewBackgroundColor];
Run Code Online (Sandbox Code Playgroud)

它仍然是白色,我现在该怎么办?我需要为此设置图像吗?

Dee*_*esh 5

在iOS 6上不推荐使用此功能groupTableViewBackgroundColor.请在后台模式中设置颜色或图像,请参阅SO答案