I have a protected page embedded in Navigation Controller. If a user is logged in, they can access the protected page or else the login view appears.
As of now, the protected page has a segue to login view and it works fine.
Now, on the protected page I need to add tabs. So I want to use tab bar controller. I am unable to figure out how to give segue to login view. Should I give it from the tab bar controller or from the first item view of tab bar controller.
As I am new to Xcode and swift, I am bit confused on how to build my application. Please help