简体   繁体   English

UITableView喜欢联系人应用编辑模式

[英]UITableView like contacts Apps edit mode

I'm currently working on an app where we have to collect user details. 我目前正在开发一个应用程序,我们必须收集用户详细信息。 I would like to build UITable view similar to the contacts app's edit mode view. 我想构建类似于联系人应用程序的编辑模式视图的UITable视图。 (ImageView in one column and firstname, lastname and other fields are in other column) (ImageView在一列中,firstname,lastname和其他字段在其他列中)

I've looked at different codes and samples..Have no idea how they build it. 我看了不同的代码和样品..不知道他们是如何构建它的。

示例联系应用编辑视图

It is likely a view built something like this... 一个视图可能建立了这样的东西...

图A.

The green box is where your UIImageView sits. 绿色框是UIImageView所在的位置。 The red box is a UITableView sized to fit alongside the image. 红色框是一个UITableView,大小适合图像。 The Blue box is another UITableView for the rest of the content. 蓝框是其余内容的另一个UITableView。 Positioning the blue box will be based on how tall the red box is based on what fields are displayed there. 蓝色框的位置取决于红色框的高度,红色框的高度取决于显示在那里的字段。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM