Ios Share Sheet
Use the iOS system share sheet — ShareLink in SwiftUI or UIActivityViewController in UIKit — for sharing content rather than custom share UIs.
$ aoe install @community/rule-ios-share-sheet Projection
Always in _index.xml · the agent never has to ask for this.
IosShareSheet [rule] v1.0.0
Use the iOS system share sheet — ShareLink in SwiftUI or UIActivityViewController in UIKit — for sharing content rather than custom share UIs.
Loaded when retrieval picks the atom as adjacent / supporting.
IosShareSheet [rule] v1.0.0
Use the iOS system share sheet — ShareLink in SwiftUI or UIActivityViewController in UIKit — for sharing content rather than custom share UIs.
Meta
- License: Apache-2.0
- License Provenance: package-authorship-claim
Applies To
any iOS app containing content users might share (links, images, text, files, locations)
Loaded when retrieval picks the atom as a focal / direct hit.
IosShareSheet [rule] v1.0.0
Use the iOS system share sheet — ShareLink in SwiftUI or UIActivityViewController in UIKit — for sharing content rather than custom share UIs.
Meta
- License: Apache-2.0
- License Provenance: package-authorship-claim
Applies To
any iOS app containing content users might share (links, images, text, files, locations)
Examples
- SwiftUI: ShareLink(item: url, subject: Text('Check this out'), message: Text(article.title)).
- UIKit: UIActivityViewController(activityItems: [url], applicationActivities: nil); present modally.
- Verify: trigger sharing; standard iOS share sheet must appear with the full roster of system apps and extensions.
Relations
related: [@community/rule-ios-spotlight-indexing, @community/pattern-ios-app-shortcuts-siri, @community/rule-ios-safe-area-insets]
Rationale
The system share sheet gives users access to all their installed apps and extensions (Messages, Mail, AirDrop, third-party apps). Custom share UIs limit options to a hard-coded list and break user expectations of how sharing works on iOS.
Meta
- License: Apache-2.0
- License Provenance: package-authorship-claim
Applies To
any iOS app containing content users might share (links, images, text, files, locations)
Source
aoe-engine/examples/frontend-design/primes/compiled/@community/rule-ios-share-sheet/atom.yaml