iPhone 设置菜单 - 创建一个允许用户添加、编辑和删除项目的列表
我希望创建一个设置菜单功能,允许用户添加、编辑和删除列表中的项目。在将项目添加到列表中时,系统将提示用户添加一些进一步的子数据,例如名称、值等。列表应该只允许选择一个项目。据我所知,就用户添加/编辑/删除和添加子数据而言,这类似于但超出了 PSMultiValueSpecifier 的功能。
iPhone Wi-Fi 设置的“选择网络”部分也实现了类似的功能,但我不确定这是如何完成的。在此,用户可以添加新网络,然后指定安全类型、密码等。
我有什么想法可以实现这一目标吗?
I am looking to create a settings menu feature that allows users to add, edit and remove items from a list. In adding an item to the list, the user will then be prompted to add some further sub-data such as name, value etc. The list should only allow one item to be selected. As far as I can see this is similar to, but beyond the capability of the PSMultiValueSpecifier, in terms of the user adds/edits/deletes and sub-data being added.
Similar functionality is implemented in the ‘Choose A Network’ section of the iPhone’s Wi-Fi settings but I am not sure how this is done. In this, users can add a new network and then specify security type, password etc.
Any ideas how I might go about achieving this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在有关 UITableView 的示例代码中进行搜索(在 iPhone 开发中心或文档中),我确信我已经看到过那种示例;)
Do a search in sample code regarding UITableView (In iPhone dev center or inside Documentation), I am sure I have seen that kind of sample ;)