Reputation: 63
I can't add a view under UINavigationBar
(Navigation Controller), like the Facebook app. Any ideas on how I can do this?
Best, Andrea
Upvotes: 0
Views: 1605
Reputation: 774
The custom view looks like a tableHeaderView
. Which means you need to set your view as the tableHeaderView
, which will then be placed on top of the tableView and underneath your navigation bar.
UIView *customView = [[UIView alloc] initWithFrame:yourFrame];
self.tableView.tableHeaderView = customView;
Upvotes: 1