Learn Courses My Dashboard

Please help me with this message

‘animation’ was deprecated in iOS 15.0: Use withAnimation or animation(_:value:) instead.!

Welcome to the community!

Next time post a title for your question not “please help me with this” because that’s the point of this community, and it makes it easier for others to search if they have the same issue

What’s show in the screenshot it a warning, meaning you don’t need to do anything immediately now, but it’s warning you, you may need to change your code later.

The .animation modifier will be depreciated (not used anymore) and will be replaced with withAnimation or animation(_:value)