Posts

Post not yet marked as solved
0 Replies
314 Views
Hello,I am facing a problem with SwiftUI clipShape.When i use clipShape with Circle, my iPad (iPad air 2) is lagging + black screen but with Capsule i havent this lag.This GIF present you this problem : clipShape with circleAnd this GIF present you clipShape with capsule where we dont see any problem : clipShape with capsuleThis the code i used to test this :import SwiftUI struct ContentView: View { var body: some View { VStack { ForEach(1 ..< 5) { i in HStack { ForEach(1 ..< 15) { t in Image(systemName: "plus") .padding(10) .background(Color.gray) .clipShape(Circle()) } } } } } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } }Thank you very much
Posted
by clemh78.
Last updated
.