简体   繁体   English

iPhone多个视图

[英]iphone multiple views

i need to get 3 views for an iphone App. 我需要获得3个iPhone应用程序的观看次数。 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. 在底部,它有3个点,告诉用户有3个屏幕可滑动。 what is this called. 这个叫什么。 This is just like the our normal apps in the iphone. 就像我们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. 谢谢。

First, read the iOS Human Interface Guidelines 首先,请阅读iOS人机界面指南

The 3 dots are UIPageControl 这三个点是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) 图标网格不在标准控件中……您可以看到three20项目来执行此操作(但是在使用第三部分资源之前,请尝试手动执行)

Can be pretty simply done by Interface Builder. 可以通过Interface Builder轻松完成。

  1. Create 3 Views 创建3个视图

  2. The Icons can be implemented by Round Rect Buttons 图标可以通过圆角矩形按钮实现

  3. The "Dots" are a "Page Control" “点”是“页面控件”

  4. Set the IBOutlets and delegates and you are done 设置IBOutlets和代理,您已完成

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM