简体   繁体   English

ios用户界面。 UI元素放在哪里?

[英]ios UI. Where to put UI elments?

How to create this kind of app design? 如何创建这种应用程序设计? I think all should be a big UITableView with custom UITableViewCell elements (red blocks)? 我认为所有人都应该是带有自定义UITableViewCell元素(红色块)的大UITableView?

应用程式设计

是的,您可以使用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: 您需要查看其中的内容并找到:

  1. Each separate part that users want to tap on to go somewhere else 用户想要点击以进入其他地方的每个单独部分
  2. Similar parts that can be done using the same cell just configured with different data 可以使用配置了不同数据的同一单元格完成相似的部分

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

相关问题 我可以在 Xcode 中创建一个 Documents 目录,并通过 UI 将我的 iOS 应用程序的文件放入其中吗? 如果是这样,如何? - Can I create a Documents directory in Xcode, and put files in it for my iOS app through the UI. If so, how? UIImageView没有显示在UI中。 - UIImageView not showing in UI. iOS UI未显示应在的位置 - iOS UI Not showing where it should be 如何以编程方式更新UITextView maximumNumberOfLines并查看UI更新。 - How to update UITextView maximumNumberOfLines programmatically and see update on UI. FMDB阻止UI。 但为什么? 对替代实施有什么建议吗? - FMDB Blocking UI. But why? Any suggestions for alternative implementation? 共享扩展程序自定义UI。 按钮没有图像 - Share extension custom UI. Button has not got image 在iOS上执行UI元素样式的位置 - Where to perform UI element styling on iOS 放置用于处理UI转换和操纵的代码的最佳位置在哪里? - Where is the best place to put code that handles UI transitions and manipulations? 有什么方法可以在不中断UI的情况下实现avaudiosession .duckothers。 斯威夫特2.0 - Is there any way to implement avaudiosession .duckothers without interrupting the UI. Swift 2.0 iOS-在给定十六进制值ID的情况下检查相应的UI元素的位置 - iOS - Where To Check Corresponding UI Element Given A Hex Value ID
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM