Is it possible to insert animation into the UITabBarController shown when switching Views?

I have a custom UITabBarController and I want it to exit the old view and move in the new view whenever TabBarItem is clicked. I looked at the UITabBarControllerDelegate, but it just offers me to decide whether the view will be displayed wrong (via shouldSelectViewController). Is there any way to do this?

(My goal is to have a starfield background that looks almost the same in all 4 views. It should look like the elements change, and the background just scrolls a bit)

+3
source share
1 answer

UITabBarController . tabBarController:shouldSelectViewController: , . , , , .

, setSelectedIndex:, , . , super - , , .

+2

Source: https://habr.com/ru/post/1734235/


All Articles