Post

Replies

Boosts

Views

Activity

Control Size of content
I practice using SwiftUI Tutorials. https://developer.apple.com/tutorials/swiftui/ I want to fix size of the image. Tell me how to solve this, please. I build like that: import SwiftUI struct CircleImage: View {     var image: Image          var body: some View {         image             .clipShape(Circle())             .overlay {                 Circle().stroke(.gray, lineWidth: 4)             }             .shadow(radius: 7)     } }
1
0
772
Dec ’21