如何创建具有可编辑组件的UITableView? [英] How to create a UITableView with editable components?

查看:56
本文介绍了如何创建具有可编辑组件的UITableView?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何创建具有可编辑组件的UITableView.

I was wondering how to create a UITableView with editable components.

如果您查看iphone中的网络设置,则可以在其中输入静态IP地址等.

If you look at the network settings in the iphone, where you can enter the static ip address, etc.

如何执行此操作?

谢谢

推荐答案

查看该博客文章.有一个名为Generic Tables的代码链接,可以为您提供所需的确切信息.

Check out that blog post. There's a link to some code named Generic Tables that will give you exactly what you need.

您可能必须将某些代码更新为与3.0兼容,但这只是更新表单元格init方法以使用样式而不是框架的情况.

You may have to update some of the code to be 3.0 compatible, but that's just a case of updating the table cell init methods to use style instead of frame.

这篇关于如何创建具有可编辑组件的UITableView?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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