Hey there! Hope everyone is having a good WWDC 2020 so far. I recently installed the Xcode 12 Beta to use the awesome new features loaded onto it, but whilst creating my app I ran into trouble with the Xcode Previews feature that is offered.
I was simulating on a iPhone 11 view, when I created an animation or shape with a frame that over lapped with the top Preview menu bar with the status indicator and animation buttons) I was unable to access any of the buttons and clicking on the button would just highlight some animation code (referring to the object I created).
As you can see in the code below, when I offset the circle and animation it end up off screen, but thus overlaps with the preview menu bar.
VStack {
Circle()
.fill(Color(red: 132/255, green: 49/255, blue: 80/255))
.offset(x: 0, y: -225.0)
.frame(width: 800.0, height: 800.0)
.scaleEffect(scale)
.animate(autoreverses: true) { self.scale = 1}
.offset(x: 0, y: -225)
}
Is there a way around this so I can run the animation?
Thanks!
TJ
Post
Replies
Boosts
Views
Activity
Hello! I recently won the Swift Student Challenge and was super excited to get the Dev Program Membership for 1 year, I am under 18 years old and when I click "Enroll" it says that I cannot "do this at this time." What's the process for redeeming this prize? Thanks!