PDA

View Full Version : scrollbar in Iphone devlopment




hrithik123
Jul 12, 2010, 12:35 AM
i have add lots of check box in iphone project in one page..so i need to add scorling or something other?

can any one have idea?



PhoneyDeveloper
Jul 12, 2010, 01:11 AM
UITableView or UIScrollView. Look at Settings.app and see how it's done there.

hrithik123
Jul 12, 2010, 01:39 AM
UITableView or UIScrollView. Look at Settings.app and see how it's done there.

if possible can you give me screen shot and example?

PhoneyDeveloper
Jul 12, 2010, 09:47 AM
I think you can look at Settings.app yourself. It's on every iOS device and on the Sim.

You should read the Table View Programming guide. Look at the TableViewSuite and ScrollViewSuite sample code from Apple.

Also, you can open the Documentation window in Xcode and type in UIScrollView or UITableView to see all the references to these classes in the Apple docs.

Settings.app uses tables extensively in its UI for allowing the user to make choices and to set values. Using a table gives you a lot of things for free in the UI like scrolling, easy to implement orientation changes, and a familiar UI to users. It's almost always my first choice when implementing a settings view.