iphone - How to simulate the behavior of a UITabBarViewController? -


i want duplicate controller same functionality without using it, because tab bar controllers not customizable @ (fixed size, toggleable state tabs, etc...).

i want customized "tab bar" contains whichever view want. , need push view controllers leaving customized tab bar fixed in position.

i´ve seen lots off apps this, , wondering if using different uiwindow objects (one custom tab bar , other 1 content) best approach.

any advice or guidance on this?

thanks in advance.

definitely not uiwindows - in iphone app there should ever 1 uiwindow.

i'd make uiviewcontroller subclass had new navigation bar ui @ top , uiview underneath it. view used contain views of controllers going push in it. view have clipstobounds set yes make sure other controllers views don't overlap navigation bar etc.

it have array hold list of controllers inside it.

your controller implement pushviewcontroller:animated: methods etc allow add other view controllers stack - add new controller array , add it's view subview of controller's view.

however, it's quite lot of work make - navigation controller release child controller views on low memory warnings, handle rotation, animating on/off views etc. 100% sure want do?


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -