I have a simple app to test push notifications of a rest api. I would like to show the Navigation Bars in the App but it is not working. In my AppDelegate I have the following c
You are showing vcString is your LoginVC
,
you need to use NavigationController identifier like loginView
or
You need to embded in NavigationControler
before show
let initialVC = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: vcString)
let navi = UINavigationController.init(rootViewController: initialVC)
and
window?.rootViewController = navi