You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open app in specific view when user taps on push notification with iOS Swift
The file 'GoogleService-Info.plist' needs to be generated on Firebase site to compile this project.
[AppDelegate.swift]
funcnavigateToView(){letstoryboard=UIStoryboard.init(name:"Main",bundle:nil)forchildin(self.window?.rootViewController?.childViewControllers)!{ifchild.restorationIdentifier=="Three"{lettabbarcontroller=self.window?.rootViewControlleras!MainTabViewController
// Select TabBarItem with Index = 2
tabbarcontroller.selectedIndex=2letlistTableViewController=(child.childViewControllers[0])as!ListTableViewControllerletbooksTableViewController=(storyboard.instantiateViewController(withIdentifier:"Four"))as!BooksTableViewControllerlistTableViewController.navigationController?.pushViewController(booksTableViewController,animated:true)}}}
IOS App ViewTransition
Main.Storyboard
About
Open app in specific view when user taps on push notification with iOS Swift