---
title: "How to navigate through notification"  
description: "How to navigate through notification"  
author: "Anonymous User"  
published: 2015-11-28  
updated: 2015-12-08  
canonical: https://www.mindstick.com/forum/33655/how-to-navigate-through-notification  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# How to navigate through notification

I want to navigate on specific [screen](https://www.mindstick.com/forum/33644/loading-screen-during-ajax-call) on tapping [notification](https://www.mindstick.com/blog/205/property-notification-in-c-sharp),\
I tried by using [alert](https://answers.mindstick.com/qa/30927/what-is-an-alert) key but it will not work after closing application.\
Please help me.

## Replies

### Reply by Tarun Kumar

If you want to navigate on another app through the notification, use these methods didFinishLaunchingWithOptions: , didReceiveRemoteNotification: from your app delegate; use this example:

```
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:                                                 (NSDictionary *)launchOptions {   self.window.rootViewController = self.tabBarController;   [self.window makeKeyAndVisible];   // If application is launched due to  notification, present another view controller.   UILocalNotification *notification = [launchOptions objectForKey:                                        UIApplicationLaunchOptionsRemoteNotificationKey];   if(notification) {      NotificationViewController *viewController = [                                        [NotificationViewController alloc]initWithNibName:                                         NSStringFromClass([NotificationViewController class])                                         bundle:nil];      [self.window.rootViewController presentModalViewController:                                         viewController animated:NO];      [viewController release];   }   return YES;} -(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo {   NotificationViewController *viewController = [[NotificationViewController alloc]initWithNibName:NSStringFromClass([NotificationViewController class]) bundle:nil];   [self.window.rootViewController presentModalViewController:viewController animated:NO];   [viewController release];}
```


---

Original Source: https://www.mindstick.com/forum/33655/how-to-navigate-through-notification

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
