开发者

iOS UIPageControl without UIScrollView

It seems from Apple's tutorial that UIPageControl is dependant to UIScrollView. Can I just use UIPageControl on its own to navigate between Controllers? If it is possible, is there any example [or possibly a code snippet] that I can read for this? What is the relationship between UIPageControl and UIScrollView?

Thank开发者_JAVA百科s for your help


fluchtpunkt is correct. no relationship at all (other than they often go together).

here is a link to the UIPageControl

http://developer.apple.com/library/ios/#documentation/uikit/reference/UIPageControl_Class/Reference/Reference.html

and since you're asking... writing your own PageControl with your own custom graphics to fit your own needs and brand is extremely easy. Let me know if are interested in some code.


There is no relationship between those two. You can use an UIPageControl for whatever you want.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜