I currently try to find a way to remove while run the app a TabBar Item, i found a way to enable or disable it but not to complete remove it. For disable it i do:>
For those who just want to disable one item. Use this code from @Daniele's solution. and place it in your UITabBarController class
viewDidLoad() { let index = 0 //0 to 5 viewControllers?.remove(at: index) }