简体   繁体   中英

What are the dimensions of iOS custom disclosure indicators?

I am looking to implement a custom disclosure indicator in a UITableView . Basically I need to make white indicators.

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?

Our app uses white disclosure indicators in iOS 7. To match the styling in iOS 6.1 and prior, we use a custom disclosure indicator image that corresponds exactly to the iOS 7 disclosure indicator. We were able to obtain a pixel-perfect match with 26x28 disclosure@2x.png and 13x14 disclosure.png.

disclosure@2x.pngdisclosure.png

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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