How to set first tab bar selected programmatically in iphone

Posted by iPhoneDev on Stack Overflow See other posts from Stack Overflow or by iPhoneDev
Published on 2010-05-31T12:37:21Z Indexed on 2010/05/31 12:43 UTC
Read the original article Hit count: 217

Filed under:

I have UITabBar in view which have 5 tab. I am using didSelectItem delegate to open different view i.e. I am NOT using TabBarController.

My problem is on view load I need first tab get selected by default. Is there any property in TabBar which we can set to make it selected.

Thanks

© Stack Overflow or respective owner

Related posts about iphone