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)
UITabBarController . tabBarController:shouldSelectViewController: , . , , , .
UITabBarController
tabBarController:shouldSelectViewController:
, setSelectedIndex:, , . , super - , , .
setSelectedIndex:
super
Source: https://habr.com/ru/post/1734235/More articles:how can we use google translator api on my site - google-translateProblems Using IconAlignment with WinForms ErrorProvider - c #Basic data: -deleteObject: crashes, do the rules eliminate the cause? - iphoneWhat is the syntax for .bat? - windowsLaunch Asp.Net MVC with VS2010 and MVC 2 - asp.net-mvcHow to serialize xml array and class properties using C # XML serialization - c #Why is unserialize_callback_func required when spl_autoload_register is already in use? - phpCan we make an overloaded controller method in ASP.NET MVC - c #Relative paths in Delphi and ITE projects in particular - delphiRichfaces tabPanel - using the same page for different tabs that dynamically change content - jsfAll Articles