skip to Main Content

Xcode – Is there a way to have two images in a VStack and have the images resized and scaledToFill? SwiftUI

I have two images in a VStack and both images being resizable. One of the image is set to fill with clipped. VStack(spacing: 8) { Image(uiImage: project.image!) .resizable() .aspectRatio(contentMode: .fill) ZStack { Image(uiImage: UIImage(named: "ic_add_project")!) Image(uiImage: UIImage(named: "corner_pages_72pt")!) .resizable() }…

VIEW QUESTION
Back To Top
Search