简体   繁体   中英

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 can 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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM