I’ve got an app with several UITableViews in it, and if one of them is empty, I’d like to display a bit of help text, floating in front of the UITableView:
“Looks like you haven’t created anything for this list yet. Make your first entry by tapping the button above.”
How do I present this view, floating in front of the UITableView?
- What method of the UITableViewDelegate would be used to present this view?
- What would the code look like to present the view?
- What method of the UITableViewDelegate would be used to hide this view once the user adds content?
Here’s a quick mockup:

declare in .h file
UIView *root;
in .m file
import QuartzCore/QuartzCore.h
inside your button Event method
[root removeFromSuperview];