How to round specific corners of a View?
Demo (Source code is available at the end of the post) iOS 16+ built-in modifier (Xcode 15 needed) Clip the view using the new UnevenRoundedRectangle: .clipShape( .rect( topLeadingRadius: 0, bottomLeadingRadius: 20, bottomTrailingRadius: 0, topTrailingRadius: 20 ) ) ⚠️ Note: Although it works from iOS 16, .rect needs Xcode 15 to be available. iOS 13+ You … Read more