Question : swiftui crop image
Answered by : tender-tarantula-su28hbfvp6hy
// add negative padding to crop containing view-frame (for layout)
Image("pause") .resizable() .aspectRatio(contentMode: .fit) .frame(height: 50.0) .padding(-5)
Source : | Last Update : Wed, 03 Mar 21