Ios No Override Swipe Back
Custom gesture recognizers must not intercept the system swipe-from-left-edge back navigation gesture; scope any custom horizontal DragGesture to avoid the leftmost 20pt edge.
$ aoe install @community/rule-ios-no-override-swipe-back Projection
Always in _index.xml · the agent never has to ask for this.
IosNoOverrideSwipeBack [rule] v1.0.0
Custom gesture recognizers must not intercept the system swipe-from-left-edge back navigation gesture; scope any custom horizontal DragGesture to avoid the leftmost 20pt edge.
Loaded when retrieval picks the atom as adjacent / supporting.
IosNoOverrideSwipeBack [rule] v1.0.0
Custom gesture recognizers must not intercept the system swipe-from-left-edge back navigation gesture; scope any custom horizontal DragGesture to avoid the leftmost 20pt edge.
Meta
- License: MIT AND Apache-2.0
- License Provenance: legacy-backfill
Applies To
all iOS views with custom gesture recognizers, especially horizontal drag gestures
Loaded when retrieval picks the atom as a focal / direct hit.
IosNoOverrideSwipeBack [rule] v1.0.0
Custom gesture recognizers must not intercept the system swipe-from-left-edge back navigation gesture; scope any custom horizontal DragGesture to avoid the leftmost 20pt edge.
Meta
- License: MIT AND Apache-2.0
- License Provenance: legacy-backfill
Applies To
all iOS views with custom gesture recognizers, especially horizontal drag gestures
Examples
- Wrong: .gesture(DragGesture().onChanged { }) on a full-width view — intercepts back swipe.
- Correct: limit horizontal drag to a named region that excludes the left 20pt, or use a vertical axis.
- Verify: swipe from the very left edge of a push view; it must navigate back every time.
Relations
related: [@community/constraint-ios-reserved-gestures, @community/pattern-ios-navigation-stack, @community/fact-ios-system-gesture-vocabulary]
Rationale
The left-edge swipe is a core iOS navigation expectation built into every navigation stack. Breaking it disorients users and makes back navigation impossible without the Back button, which is a smaller target and often cut off by long titles.
Meta
- License: MIT AND Apache-2.0
- License Provenance: legacy-backfill
Applies To
all iOS views with custom gesture recognizers, especially horizontal drag gestures
Source
aoe-engine/examples/frontend-design/primes/compiled/@community/rule-ios-no-override-swipe-back/atom.yaml