views:

72

answers:

1

Hi all,

In my iphone application I put a UITabBar (not using UITabBarController) in the bottom and put four TabBarItems(created IBoutlets -so that i'm able to track which item is selected), How can I set 1 TabBarItem is selected when the view is loaded (by default).

Thanks in advance

Shinto

+1  A: 

Set the selectedItem property:

tabBar.selectedItem = defaultTabBarItem;
gerry3
Thank you ........
shinto Joseph