I have a UIView that gets added to my UITableView.view as a subview. It looks great and works fine, but when I scroll on my UITableView, the subview gets chopped up and disappears but only part of it (mostly the part that scrolls off). I can get it to come back on by calling:
[self.view bringSubviewToFront:self.myView];
but I’d rather not have to call this whenever the UITableView scrolls. Is there something I’m doing wrong? Thanks in advance.

Try this ..