CLAUDE YOUR UPDATED PROGRAMATIC SOLUTION WORKS PERFECTLY, YOU'RE A GENIUS!
PS: the only note I want to make for others, is if you have custom images as tab bar icons you access them with imageLiteralResourceName like so:
if let handMassage = tabBarController!.viewControllers?[1] {
let customTabBarItem = UITabBarItem(title: "Hand Massage", image: UIImage(imageLiteralResourceName: "Hand Massage Logo").withRenderingMode(UIImage.RenderingMode.alwaysOriginal), selectedImage: UIImage(imageLiteralResourceName: "Hand Massage Logo"))
handMassage.tabBarItem = customTabBarItem
}
also depending on your art board setup you may need to access the view controller via tabBarController!.viewControllers?
Topic:
Developer Tools & Services
SubTopic:
General
Tags: