Hi,
The code below from the demo works on the MAC but not on the iPad, it Aborts on the Circle() line, if I remove the newly added Text command the code run's again.
What am I doing wrong?
import SwiftUI
import PlaygroundSupport
struct ProgressView: View {
var body: some View {
ZStack {
Circle()
.stroke(lineWidth: 40)
.foregroundColor(.blue)
Text("25%")
}
}
}
PlaygroundPage.current.setLiveView(ProgressView()
.padding(150))