How to add a UIView above the current UITableViewController

后端 未结 20 863
旧时难觅i
旧时难觅i 2020-11-27 11:57

I have difficulty adding a subview (UIView) from within the viewDidLoad method of a UITableViewController

This works:

[self.view addSubview:self.prog         


        
20条回答
  •  天命终不由人
    2020-11-27 12:49

    try: [self.view bringSubviewToFront:self.progView];

    Or you can try to add self.progView to your table's view.

提交回复
热议问题