How to create a carousel menu bar in an iPhone app
I am attempting to develop an iPhone application which has a tab bar at bottom, a navigation bar at top and below this a navigation bar which is a carousel menu bar. This carousel menu bar is similar to media carousel menu on the iPod, but it is thinner and just contains text menu items, which the one on top bigger and the others smaller (similar to the and the CNBC Financial App). How ca开发者_JAVA技巧n I do this?
The easiest way is to use a UITableView and customize the cells height. Refer to the Table View Programming Guide: http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/TableView_iPhone/AboutTableViewsiPhone/AboutTableViewsiPhone.html
Another way is to use a UIScrollView and add subviews (UIViews or UITextView): smaller ones for dividers and larger ones for text items.
Good luck!
精彩评论