Can anyone please tell me how to set the default tab when using storyboards in iOS. I can\'t seem to figure out how to accomplish this.
Thank you
Provided you're navigating to your UITabBarController from e.g. a login screen it might be least pain to set the selection there:
let tabs = self.storyboard?.instantiateViewController(withIdentifier: "tabs") as! UITabBarController tabs.selectedIndex = 1 self.present(tabs, animated:false)