What is the name for the view that manages the iPhone home screen?
My google-fu is failing here. I'm looking for the name of开发者_开发知识库 the UIView
(or whatever it is) that handles several pages, with those little glowing dots indicating which page you're on.
UIScrollView
is the name of the view with pages
UIPageControl
is what you connect to it to add the dots
To expand on coneybeare's brief description, there is no special control that does the pages, it is simply a UIView within a UIScrollView with code to 'lock' the scrolling to certain spots (pages). The UIPageControl is simply a display of which position the scrollview is currently locked to.
A perfect example is Apple's sample code/demo here: http://developer.apple.com/iphone/library/samplecode/PageControl/index.html
精彩评论