Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/102.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 如何在IOS 6中获取此背景条?_Iphone_Ios_Cocoa Touch_Uiview_Uiimage - Fatal编程技术网

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

Iphone 如何在IOS 6中获取此背景条?,iphone,ios,cocoa-touch,uiview,uiimage,Iphone,Ios,Cocoa Touch,Uiview,Uiimage,我在旧版本中使用过这个背景,在升级到iOS 6.0后,我在IB中找不到任何地方。我的堆栈溢出并使用了这个 self.view.backgroundColor = [UIColor groupTableViewBackgroundColor]; 它仍然是白色的,我现在该怎么办?是否需要为此设置图像?此功能groupTableViewBackgroundColor在iOS 6上已弃用。请在背景模式下设置颜色或图像 请参阅iOS 6上已弃用的此功能groupTableViewBackgroundCo

我在旧版本中使用过这个背景,在升级到iOS 6.0后,我在IB中找不到任何地方。我的堆栈溢出并使用了这个

self.view.backgroundColor = [UIColor groupTableViewBackgroundColor];

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

此功能groupTableViewBackgroundColor在iOS 6上已弃用。请在背景模式下设置颜色或图像
请参阅iOS 6上已弃用的

此功能groupTableViewBackgroundColor。请在背景模式下设置颜色或图像
请查看这些条带的颜色。可能吗?可能。。。请解释您的问题或您想要的?我可以设置那种颜色,垂直条带(如上所示)我需要在上面绘制吗?使用self.tableView.backgroundColor=[UIColor colorWithPatternImage:[UIImage ImageName:@“tableViewBackground.png”];并使用这些条带从颜色复制tableViewBackground图像。可能吗?可能。。。请解释您的问题或您想要的?我可以设置那种颜色,垂直条带(如上所示)我需要在上面绘制吗?使用self.tableView.backgroundColor=[UIColor colorWithPatternImage:[UIImage ImageName:@“tableViewBackground.png”];并从中复制tableViewBackground图像