SwiftUI swipeActions modifier in iOS 15

func swipeActions<T>(edge: HorizontalEdge = .trailing, allowsFullSwipe: Bool= true, content: () -> T) -> some View where T : View
Session List View
Session List View with swipeActions added to it

I thought its done!!! But when I examined under the canvas preview. It’s not working.

It’s not working!!!

I thought possible issues might be,


Wala!!! It worked.

It started working!!!

Take your time to learn before develop, examine to make it better, and eventually blog your learnings.