Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

crisss1205

macrumors 6502a
Original poster
Oct 7, 2008
959
306
NYC
I am using a Tab Bar and have more than 5 "pages" the OS adds the more tab but the problem is that if an item is in the more tab it has a double navigation bar.

Image one is if it's selected from the "More" list.
Image two is if it's selected directly from the tab bar.

How can I fix this problem. (NOTE: I am using IB)
 

Attachments

  • Screen shot 2010-08-14 at 2.00.28 PM.png
    Screen shot 2010-08-14 at 2.00.28 PM.png
    19.3 KB · Views: 86
  • Screen shot 2010-08-14 at 2.01.01 PM.png
    Screen shot 2010-08-14 at 2.01.01 PM.png
    14.6 KB · Views: 159
Use the viewDidAppear or viewWillAppear and hide the additional navigation bar.

I was going to do that but didn't know how to detect if its being viewed from the more list or directly from the tab bar. I was thinking of using the frame size but was wondering if there is a easier way.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.