Swipe Container

Only allows a single active swipe within a container.

Swipe Container - iOS Liquid Glass Light Mode Preview

Platform Compatibility

iOS 27.0+ iPadOS 27.0+ macOS 27.0+ watchOS 27.0+ visionOS 27.0+

Tags

SwiftUI Code

Docs
VStack {
    Section("Group1") {
        Text("Foo1")
            .swipeActions {
                Button(role: .destructive, action: action)
            }
            Text("Bar1")
                .swipeActions {
                    Button(role: .destructive, action: action)
                }
            }
            .swipeActionsContainer()
            Text("Foo2")
                .swipeActions {
                    Button(role: .destructive, action: action)
                }
                Text("Bar2")
                    .swipeActions {
                        Button(role: .destructive, action: action)
                    }
                }

Found an issue or have a suggestion?

Created: June 18, 2026Updated: June 18, 2026
Connect Wizard

Connect Wizard

Unlock hidden App Store Connect analytics

Pre-order