[英]ios UI. Where to put UI elments?
是的,您可以使用UITableViewCell来做到这一点,但是它会太大,如果此单元格正在重复,则您必须将UITableview与CustomCell一起使用,否则使用UiscrollView将您的元素放入ScrollView并相应地设置它的ContentSize。
Use more than 6. It can be done with a table view with sections, but your red boxes group too much into some cells. 使用大于6的值。可以使用带有部分的表视图完成操作,但是红色框将过多的分组到某些单元格中。 For example, your cell 6 should really be 4 cells (one for each part separated by a line and with an arrow telling the user they can select it to see more).
例如,您的单元格6实际上应该是4个单元格(每个部分一个用一条线隔开,并带有箭头告诉用户可以选择以查看更多内容)。 This applies to all of your red boxes, so where you show 6 cells I'd actually be thinking of having 16, probably of around 9 different custom types for your different content styles (images, images with text, headings, bold and faded, etc).
这适用于所有红色框,因此在您实际显示的6个单元格中,我会考虑使用16个单元格,可能针对您的不同内容样式(图像,带文本的图像,标题,粗体和褪色的图像,自定义类型,等等)。 You need to look through what's there and find:
您需要查看其中的内容并找到:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.