views:

29

answers:

2

Title says it all ^^

Thanks in advance,

Lewion

A: 

Yes, there is.

Try setting the selectedIndex property of your UITabBarController.

Brandon
Have an example for this? :) What I want to do is for example: You have a new news message -> open -> application opens in news tab.
Lewion
If you post what you have, I'll try and see why it's not working.
Brandon
+1  A: 

Do a search for Push Notification tutorial on Google, you'll find a few really good links. Study the examples and review the code.

Then create a method something like this:

-(void)goToNewsTab { [controller setSelectedIndex:4]; }

Where controller is your UITabBar.

Jordan