iPhone Fixed-Position UITableView Background

后端 未结 5 2009
北海茫月
北海茫月 2020-12-03 14:53

I\'m building an iPhone app without the use of Interface Builder. I have set the background of a grouped UITableView in the following manor:

self.view.backgrou

5条回答
  •  独厮守ぢ
    2020-12-03 15:03

    use this below code in swift 3.0 to achieve constant background for tableview

     self.tableView.backgroundView = UIImageView(image: UIImage(named: "background.png")!)
    

提交回复
热议问题