Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/35.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios UIScrollView和UIPageControl_Ios_Iphone_Objective C_Uiscrollview_Uipagecontrol - Fatal编程技术网

Ios UIScrollView和UIPageControl

Ios UIScrollView和UIPageControl,ios,iphone,objective-c,uiscrollview,uipagecontrol,Ios,Iphone,Objective C,Uiscrollview,Uipagecontrol,我是iOS开发新手,一直很难弄清楚如何使用UIPageControl。我希望屏幕的一部分是一个菜单,用户可以选择不同的选项。我想使用UIPageControl执行此操作。据我所知,我必须使用UIScrollView,将分页设置为YES。我在网上找到的所有信息不是很好就是非常过时 我想知道如何让滚动视图与页面控制器一起工作 如果你知道这方面有什么好的教程,或者不介意解释一下,我真的很感激。谢谢 这个例子可以帮助你:苹果公司的例子也是一个很好的参考:这里的另一个例子可能重复:

我是iOS开发新手,一直很难弄清楚如何使用
UIPageControl
。我希望屏幕的一部分是一个菜单,用户可以选择不同的选项。我想使用
UIPageControl
执行此操作。据我所知,我必须使用
UIScrollView
,将分页设置为
YES
。我在网上找到的所有信息不是很好就是非常过时

我想知道如何让滚动视图与页面控制器一起工作

如果你知道这方面有什么好的教程,或者不介意解释一下,我真的很感激。谢谢

这个例子可以帮助你:苹果公司的例子也是一个很好的参考:这里的另一个例子可能重复: