1

My app will receive push notification and basically in the following two functions which are in the AppDelegate.m file, I would like to launch or load a tab in my app when the user receives the push notification. I have several tabs on the app but would like to show one of them.

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo

Any help is appreciated.

woz
  • 10,888
  • 3
  • 34
  • 64
John Rambo
  • 87
  • 10
  • 1
    So you're trying to switch the Tab in the TabBar programmatically? [self.tabBarController setSelectedIndex:i]; – Git.Coach Dec 10 '12 at 16:21

0 Answers0