Which of the following SwiftUI code snippets correctly applies implicit animations to both properties using the .animation modifier?
hard📝 Application Q15 of 15
iOS Swift - Animations
You want to animate a view's size and color changes together smoothly when a toggle is switched. Which of the following SwiftUI code snippets correctly applies implicit animations to both properties using the .animation modifier?