I have an the app when notification is fired i get a notification bar when the app is in background ,when i tap on that bar it navigates into tableview of the notification set . When i quit the app from background i am receiving notification but when tap on the bar the app is getting crashed since its not getting indexpath of the tableview.
I am calling this method in didFinishLaunchingWithOptions and didReceiveLocalNotification in AppDelegate.so that when the app is in background by clicking on notification bar app is navigated to appropriate tableview.