In my application i am using a tabbar controller where it contains 4 tabs.In one of the tab, Log out functionality is added where i am presenting the login view controller on click of log out tab. now when the user logs in i want the 1st tab selected defaulty. How to set that?
Share
Do this way:
to get TabBarController in your tab’s child
UIViewControllerusemake a method in app delegate like this
in AppDelegate.h file
and AppDelegate.m file
now anywhere write this: