开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜