开发者

iPhone, what would be the size of a UITableView row icon / button?

I've adding a logo to the right of a standard size row in a UITableView.

However, I've added an image which is 25 by 25 and it seems quite small.

I'm not viewing it on a retina device.

It looks like its being resized and looks awful.

But I just 开发者_开发技巧wondered what the standard size would be ?


The default rowHeight in a UITableView is 45, so an image with a height of 40 would fit well.

If your 40x40 image is called cellImage.png, create an identical one of size 80x80 called cellImage@2x.png for decent display quality on retina devices.


29 x 29 would be a good size for a standard table cell image.


A UITableViewCellAccessoryDetailDisclosureButton (blue circle with white '>') is 29 x 31 (taller to account for its shadow).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜