如何获取像 zipcar 应用程序这样的标签?
在演示中http://www.youtube.com/watch?v=TQ2EZ_tWsGc大约 22 点,他单击底部选项卡,一个新视图会向上滑动。它的顶部有三个选项卡。
如何让三个小选项卡在“查找汽车依据”视图中工作?
另外,他们是如何创建“查找汽车”文本所在的小选项卡的?它从视图中独立出来。
In the demo http://www.youtube.com/watch?v=TQ2EZ_tWsGc at about :22, he clicks the bottom tabbar and a new view slides up. It has three tabs at the top.
How do you get the three little tabs working in the "Find car by" view?
Also, how did they create the little tab where the "Find car by" text sits? It is sticking out on its own from the view.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这看起来就像普通的 UISegmentedControl。
我认为视图本身覆盖了所有窗口区域,但它具有透明背景和背景图像,使其看起来很奇特的形状。因此,“查找汽车依据”必须只是放置在特定视图点中的 UILabel 或 UIButton。
This looks like ordinary UISegmentedControl.
I think that view itself covers all window area but it has transparent background and also background image making it look a fancy shape. So "Find cars by" must be just UILabel or UIButton put in specific view's point.
该视图是一个操作表。左侧的按钮是单个分段控件,右侧的按钮是普通按钮。简单地绘制选项卡,并将其旁边的工作表部分设为透明。
The view is an action sheet. The buttons on the left are a single segmented control and the button on right is a plain button. The tab is simply drawn and the part of the sheet next to it is made transparent.
很简单:
Very simple :