swift image resizable to fit on screen code example
Example: set image width and height swiftui
Image(room.thumbnailImage).resizable()
.frame(width: 32.0, height: 32.0)
Image(room.thumbnailImage).resizable()
.frame(width: 32.0, height: 32.0)