iPhone - Setting background on UITableViewController

后端 未结 6 1551
借酒劲吻你
借酒劲吻你 2020-12-04 10:50

Is there any way to set a background view on a UITableViewController?

I try with the code I am using on a UIViewController, but the view comes over all

6条回答
  •  执念已碎
    2020-12-04 11:40

    self.parentViewController.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"yourImage.png"]];
    

提交回复
热议问题