I want to implement a configurable tab bar in my app like iphone music app where a user can edit the Tab bar by dragging and dropping icon on to it.
+1
A:
Well, then it's a good thing that UITabBar has this functionality built in. Take a look at the following method:
UITabBar *mybar = [[UITabBar alloc] init];
[mybar beginCustomizingItems:[NSArray arrayWithObjects:tabItem1, tabItem2, nil]];
Douglas Mayle
2009-11-30 10:32:14
A:
UITabBarController handles this completely automatically. If you add more than 5 tabs to the tab controller then the fifth button changes to 'More' to allow the user to access the configuration interface.
If you want to customise the behaviour or do something completely different then implement the UITabBarDelegate protocol.
Robin Summerhill
2010-01-05 23:23:33