iPhone:形成新的联系方式 [英] iPhone : form like new contact
问题描述
我对Apple iPhone Contact App有一些疑问。我想使用相同的方法来创建和修改信息。
I have some questions about the Apple iPhone Contact App. I want to use the same methode to create and modify information.
这是两张照片:
alt text http://grab.by/4ZjQ
alt text http://grab.by/4ZjR
所以我们有创作和版本。该表单看起来像一个带有groupsStyle的UITableView,但我不知道如何重新创建所有这些。你有想法或教程可以解释怎么做吗?
So we have the creation and the edition. The form looks like an UITableView with a groupedStyle but I don't know how to re-creat all of this. Have you got an idea or a tutorial that might explain how to do it ?
非常感谢!
推荐答案
顶部位是带有UIImageView和UITableView的UIView,此视图设置为整个UITableView的标题。
the top bit is a UIView with a UIImageView and a UITableView, this view is set as the header of the overall UITableView.
至于编辑,你需要用UITextField换掉UILabel,它有相同的框架和font-size。将内容从一个视图移动到另一个视图。
As for the editing, you need to swap out the UILabel, with a UITextField, which has the same frame, and font-size. move the content from one view to another.
这篇关于iPhone:形成新的联系方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!