IPhone, what is the size of the icon / button bar of a UITableView?

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

However, I added a 25 by 25 image and it seems pretty small.

I do not view it on the retina device.

It looks like it has changed and looks awful.

But I just wondered what the standard size would be?

+3
source share
3 answers

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

If your 40x40 image is called cellImage.png, create an identical 80x80 size with the name cellImage@2x.png to ensure decent image quality on retina devices.

+4

29 x 29 .

0

A UITableViewCellAccessoryDetailDisclosureButton(blue circle with white '>') is 29 x 31 (higher to take into account its shadow).

0
source

Source: https://habr.com/ru/post/1789036/


All Articles