so guys, i’ve been wondering, currently i’m in the middle of learning on developing apps. i saw a CNBC apps at ipad that looks like the image here : (sorry, new user cant directly post image D:)
http://images.thoughtsmedia.com/resizer/thumbs/size/600/at/auto/1291813093.usr105634.jpg
my question is, what are those 2 bars on top of the app??(the one with markets, and indexes)
is it a tabbar controller?? if it is how do we put it on top of the app instead of at the bottom like it normally is, and how do we have another tabbar inside a tabbar???
i appreciate your helps, and sorry for my bad english :3
okay, i have found the solution to this, by far i’ve tried both customized tabbar and segmented controller, but i found both of them risky and too complicated
so i do a little experiment with simple button
here’s the main idea
first, i set up a toolbar, and give it a background
-in viewController.h
-in viewController.m
so the main idea is creating a fake tabbar by using toolbar, assigning UIButton(s) to the toolbar as the fake tabbaritem, and giving mechanism to each button that later will switch your viewcontrollers (you have to alloc the viewcontrollers first at implementation file)
this works well for me, just dont forget to set the view controllers frame Y point +(toolbar Height) because otherwise it will cover the toolbar later
🙂