在iPhone应用程序中创建下拉列表 [英] Creating a drop-down list in iPhone app

查看:93
本文介绍了在iPhone应用程序中创建下拉列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我单击带箭头符号的按钮时,可用项目列表应显示为列表。任何人都可以帮我为iPhone应用程序开发这个代码吗?

When I click the button with an arrow symbol, the list of items available should be displayed as a list. Could anyone help me with the code for developing this for an iPhone application?

推荐答案

UIPickerView是正确的控件,iOS的那个用户期望,以及Apple iOS人机界面指南指定的控件。

UIPickerView is the correct control, the one that iOS users expect, and the control specified by the Apple iOS Human Interface Guidelines.

即使在Safari的网页上,只要通常会有下拉列表,就会显示一个选择器代替。如果你可以的话,请选择选择器。

Even on a web page in Safari, wherever there would normally be a drop down a picker is displayed instead. Go with the picker if you at all can.

这篇关于在iPhone应用程序中创建下拉列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆