I have difficulty adding a subview (UIView) from within the viewDidLoad method of a UITableViewController
This works:
[self.view addSubview:self.prog
try something like this:
[self.tableView addSubview:overlayView]; overlayView.layer.zPosition = self.tableView.backgroundView.layer.zPosition + 1;