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