Sunday, 29 September 2013

UINavigationController transparent for UITableView underneath

UINavigationController transparent for UITableView underneath

I have a UINavigationController handling then navigation in my app. I
would like the navigation bar to show the contents of the UITableView as I
scroll up.
I can't seem to get it to be transparent. I have it set to translucent
self.navigationController.navigationBar.translucent = YES;
But still nothing. I'd like to add color, but I'll worry about that later.
I've tried creating a subclass of UINavigationController and specify
self.navigationBar.backgroundColor = [UIColor clearColor];
self.navigationController.navigationBar.translucent = NO;
But again, no luck. This is what my interface builder looks like...

And this is what it looks like when I scroll the text up under the nav
bar. Any suggestions?

No comments:

Post a Comment