Answers for "swift crop an image view"

0

swiftui crop image

// add negative padding to crop containing view-frame (for layout)
Image("pause")
	.resizable()
	.aspectRatio(contentMode: .fit)
	.frame(height: 50.0)
	.padding(-5)
Posted by: Guest on February-24-2021

Code answers related to "Swift"

Browse Popular Code Answers by Language