ZNApps
ZNApps

Reputation: 55

iOS estimatedRowHeight not working in plus device

I have a tableview with setting:

self.tableView.rowHeight = UITableViewAutomaticDimension;
self.tableView.estimatedRowHeight = 50;

It's work fine in 5/5s, 6/6s, 7 but its not working in 6s+/7+, images is stretch.

5/5s 6/6s, 7 devices 6s+/7+ devices

Upvotes: 2

Views: 320

Answers (1)

Raman Srivastava
Raman Srivastava

Reputation: 396

Make content mode of Uiimageview to Aspect fill .It will solve your issue

Upvotes: 6

Related Questions