It's a little different in a navigation based app: just change the background of the navigation view that each table view is sitting on. Placing the following code in viewDidLoad of each UITableViewController works:
self.navigationController.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"myImage.png"]]; self.tableView.backgroundColor = [UIColor clearColor];
But you may only need to do it once, at the top level of the navigation controller, rather than in each tableview controller (although you'll still have to set each background to clear).
分享到:
相关推荐
UITableViewController操作全集
讲述了UIViewController和UITableViewController,有利于初学者
教你如何简化UITableViewController 让之瘦身提高代码复用
UITableViewController最基本用法实现(Accessory多选、自定义Style多选、目录表格、编辑表格) 用于初学者了解其UITableViewController
UITableViewController的相关操作
源码UITableViewController-Containment-Demo,该项目展示如何同时通过Search Bar+Display Controller在另外一个视图控制器中包含UITableViewController。 测试环境:Xcode 5.0,iOS 6.0以上
主要介绍了ios基于UITableViewController实现列表的相关资料,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
iOS入门开发学习UITableViewController教程,代码+教程。
iOS 从UITableViewController中分离数据源 原文地址:http://blog.csdn.net/jymn_chen/article/details/24676067
快速实现下拉刷新上接加载UITableViewController,可以自定义UI 下载地址:https://code.csdn.net/RyanFang/rfquicklytableviewcontroller.git
UITableViewController,UIPageController和UIScroller的结合,用来展示产品的小demo,可以充分的学习UItableVIewControl,以及自定义cell等方面的知识.
主要介绍了iOS UITableView 与 UITableViewController实例详解的相关资料,非常不错,具有参考借鉴价值,需要的朋友可以参考下
( 徽标 一个UITableViewController子类,在设计时考虑了效率和维护性,并尽力为您处理几乎所有事情。 在每个表中都没有更多的if语句和开关可以查看dataSource和委托方法。 不再需要将每一行和每一节的所有逻辑拆...
Based on Big Nerd Ranch's popular iOS Bootcamp course and its well-tested materials and methodology, this bestselling guide teaches iOS concepts and coding in tandem. The result is instruction that ...
CoreDataTransientPropertyDemo 使用 UITableViewController、NSFetchedResultsController 和瞬态属性创建动态部分的简单演示。
a) UITableViewController b) AutoLayout,SizeClasses c) UIPageViewController d) load url image e) Navigation Controller f) Activity jumping using source code(presentViewController) or story board...
基于Apple的示例的手风琴UITableViewController组件。 Swift版本: : 当前版本 版本:0.2.1 引擎盖下 兼容iOS8 兼容StoryBoad 支持定制 支持将UIViews作为部分(UIViews,UIViewController的视图,UITableViews...
With this easy-to-follow guide, you’ll learn the steps necessary for developing your first marketable iOS application, from opening Xcode to submitting your product to the App Store. Whether you’re...