问题描述
我希望在 UITableView
中实现自定义披露指标。基本上我需要制作白色指示器。
I am looking to implement a custom disclosure indicator in a UITableView
. Basically I need to make white indicators.
Apple文档列出了视网膜和非视网膜显示器的应用程序图标所需的尺寸,但我找不到建议的尺寸对于披露指标等项目。
Apple documentation lists dimensions that are required for app icons for the retina and non-retina display, however I couldn't find recommended dimensions for items such as disclosure indictors.
是否有人建议为视网膜和非视网膜显示创建披露图标的适当尺寸是什么?
Does anyone have any suggestions on what the appropriate dimensions would be to create disclosure icons for retina and non-retina displays?
然后想一想应用程序将如何知道选择哪一个?
And come to think of it how would the app know which one to pick?
推荐答案
对于自定义披露指标,您只需使用 UITableViewCell
's accessoryView
属性并设置您想要的任何大小。如果您要求苹果使用的披露指标大小,它们是:58x62用于披露按钮,视网膜,19x28用于披露指标,视网膜。祝你好运!
For custom disclosure indicators you could just use UITableViewCell
's accessoryView
property and set any size you want. If you are asking for disclosure indicator sizes that apple uses, they are: 58x62 for disclosure button, retina, and 19x28 for disclosure indicator, retina. Good Luck!
这篇关于iOS自定义披露指标的维度是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!