I want a fixed size image in cell, here is my code in cell:
var content = defaultContentConfiguration()
content.image = img
content.imageProperties.reservedLayoutSize = CGSize(width: 80, height: 80)
self.contentConfiguration = content
reservedLayoutSize did not work, is there a way to do this?
try to use this code in order to set image size
as you can see the code size for the UIImage by creating a new image with the desired size using UIGraphicsImageRenderer.