Repository navigation
.NET 11 RC2 docs: Apple scene lifecycle and app actions - #3568
Conversation
…dispatch Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6aa5f4ab-f511-460f-88a2-bb881215e380
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 75426a0: ✅ Validation status: passed
For more details, please refer to the build report. |
There was a problem hiding this comment.
🟡 Changes recommended
The lifecycle mapping incorrectly describes SceneWillConnect as occurring after native window creation.
1 open finding
What changed in this PR
Documents .NET 11 Apple scene lifecycle migration and AppActions dispatch behavior.
Changes:
- Adds scene lifecycle setup and migration guidance.
- Documents warm/cold activation and AppActions handling.
- Adds .NET 11 monikered content and metadata.
| File | Description |
|---|---|
docs/fundamentals/app-lifecycle.md |
Adds scene lifecycle configuration and migration guidance. |
docs/platform-integration/appmodel/app-actions.md |
Documents scene-based AppActions dispatch and acknowledgements. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Summary
Document the Apple scene lifecycle migration for existing .NET MAUI apps built with the Xcode 27 SDKs. Keep new guidance within
>=net-maui-11.0blocks and preserve the .NET 8, 9, and 10 content and existing lifecycle callback descriptions.UIApplicationSceneManifest, a matching registeredMauiUISceneDelegatesubclass, the exact__MAUI_DEFAULT_SCENE_CONFIGURATION__name, and an explicit single-scene default.PerformActionForShortcutItemlifecycle registration must acknowledge its own callback exactly once, includingfalsefor observers that do not handle the action.Changed files
docs/fundamentals/app-lifecycle.mddocs/platform-integration/appmodel/app-actions.mdBoth pages have current
ms.datevalues andai-usage: ai-assistedmetadata.Platform behavior and migration
The guidance applies to iOS and Mac Catalyst, including apps with multiple scenes disabled. The scene callback registrations run alongside the cross-platform
Windowlifecycle forwarding provided by MAUI. Cold URL contexts and user activities are not automatically replayed through the warm callbacks. The WebAuthenticator bridge is not general app-link navigation.MAUI dispatches a cold shortcut after that window's scene activation callbacks, at most once per connection. Custom shortcut observers must acknowledge
false; returning alone is not an acknowledgement. Cold scene connections do not supply a native completion callback.Source verification
Release authority: dotnet/core#10609, RC2 release notes at a26e2ef9efeab9c78e571b9c13ad9779130cb0b8.
Upstream change: dotnet/maui#38601. Facts and example shapes were checked against the actual template/runtime source at RC2 cutoff
d32b79928709cf53b671336dabd0caef5a679fc2(published workload11.0.0-rc.2.26505.5), not only the PR description:Local checks
No native app execution or C# compilation was performed. The full hosted Learn/OPS build and documentation verifier run after publication.
Internal previews
Build report