i’m making app based on tab bar with two tabs. My problem is that i have to implement authentication view “loginView” on one of tabb’s view, and when the credentials are saved i want show another data everytime tab is tapped. what’s the best way to do it ?
Share
Store a boolean in your user defaults, something like ‘loginShown’, then, in your
appplicationDidFinishLaunchingmethod, check if the ‘loginShown’ is set, and if not, present a modal view controller which is your login view.