How to create a UITableView with editable componen

2019-07-16 07:23发布

问题:

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

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

How to do this ?

Thanks

回答1:

http://furbo.org/2009/04/30/matt-gallagher-deserves-a-medal/

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

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.



回答2:

TaggedLocations project is a very good example of a UITableView with editable components.

You can see this example in Sample code library of Apple iOS: http://developer.apple.com/library/ios/#samplecode/TaggedLocations/Introduction/Intro.html

Regards