简体   繁体   English

自定义uitableview部分设计

[英]custom uitableview section design

I would like to have a custom section design for my app. 我想为我的应用程序设计一个自定义部分。

The particular case would be to have a text displayed on the left of the section elements. 特殊情况是在section元素的左侧显示一个文本。

Could someone help? 有人可以帮忙吗? i've attached a image to better explain what i mean. 我附上一张图片,以更好地解释我的意思。

定制部分设计

UPDATE 1 更新1

Let me elaborate: I would like to have a uitableview with N number of sections, each with variable number of elements per section. 让我详细说明一下:我想有一个uitableview,其中包含N个部分,每个部分具有可变数量的元素。 For each section, i would like to have a description on the left of the rows. 对于每个部分,我想在行的左侧进行描述。 The scroll show act as in any other uitableview. 滚动显示与其他任何uitable视图一样。

您必须具有一个表格视图,在左侧的每个单元格中添加一个标签,并在右侧添加一个新的表格视图。

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

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