iPhone 多视图
我需要为 iPhone 应用程序获得 3 次浏览。每个视图应该包含几个图标。当我滑动第一个视图时,它应该带我到第二个视图(也有几个图标)。请参阅下图以获得一个想法。
底部有 3 个点,告诉用户有 3 个屏幕可以滑动。这叫什么。这就像我们iPhone中的普通应用程序一样。当我滑动时,它应该带我到下一个带有不同图标的屏幕。
我无法弄清楚它是什么类型的视图控制器以及如何实现它。我只需要一些想法。
谢谢。
i need to get 3 views for an iphone App. Each view should contain several icons . when i swipe the first view it should take me to the second view(which also has several icons). see the below image to get an idea.
at the bottom it has 3 dots which tells the user that there are 3 screens to swipe. what is this called. This is just like the our normal apps in the iphone. when i swipe it should take me to the next screen with different icons.
i was not able to figure out what kind of view controller it is and how to implement it. i just need some idea.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
可以通过 Interface Builder 非常简单地完成。
创建3个视图
图标可以通过圆角矩形按钮实现
“点”是一个“页面控件” "
设置 IBOutlet 和委托,您就完成了
Can be pretty simply done by Interface Builder.
Create 3 Views
The Icons can be implemented by Round Rect Buttons
The "Dots" are a "Page Control"
Set the IBOutlets and delegates and you are done
首先,阅读 iOS 人机界面指南
这 3 个点是 UIPageControl
图标网格不在标准控件中...您可以查看 third20 项目 来执行此操作(但在使用之前第三部分资源,尝试手动完成)
First, read the iOS Human Interface Guidelines
The 3 dots are UIPageControl
Icon grid is not in standard control... You can see the three20 project to do this (but before using a 3rd part resource, try to do manually)