Skip to content

(Draft) Update iOS snippets to reflect UISceneDelegate adoption#13305

Draft
johnpryan wants to merge 1 commit intoflutter:mainfrom
johnpryan:migrate-docs-to-uiscene
Draft

(Draft) Update iOS snippets to reflect UISceneDelegate adoption#13305
johnpryan wants to merge 1 commit intoflutter:mainfrom
johnpryan:migrate-docs-to-uiscene

Conversation

@johnpryan
Copy link
Copy Markdown
Contributor

Description of what this PR is changing or adding, and why:

This updates iOS code snippets to conform to the UIScene lifecycle migration.

  • Update platform-channels.md to use didInitializeImplicitFlutterEngine.
  • Update platform-views.md to use didInitializeImplicitFlutterEngine and add protocol conformance.
  • Update add-flutter-screen.md to include configurationForConnecting in AppDelegate.

Issues fixed by this PR (if any):

Fixes #13087
Fixes #13086
Fixes #13274

PRs or commits this PR depends on (if any):

None.

Presubmit checklist

  • If you are unwilling, or unable, to sign the CLA, even for a tiny, one-word PR, please file an issue instead of a PR.
  • If this PR is not meant to land until a future stable release, mark it as draft with an explanation.
  • This PR follows the Google Developer Documentation Style Guidelines—for example, it doesn't use i.e. or e.g., and it avoids I and we (first-person pronouns).
  • [ x This PR uses semantic line breaks
    of 80 characters or fewer.

- Update platform-channels.md to use didInitializeImplicitFlutterEngine.
- Update platform-views.md to use didInitializeImplicitFlutterEngine and add protocol conformance.
- Update add-flutter-screen.md to include configurationForConnecting in AppDelegate.

Fixes flutter#13087
Fixes flutter#13086
Fixes flutter#13274
@flutter-website-bot
Copy link
Copy Markdown
Collaborator

Visit the preview URL for this PR (updated for commit dcf2892):

https://flutter-docs-prod--pr13305-migrate-docs-to-uiscene-iiubeubj.web.app

Copy link
Copy Markdown
Contributor

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, @johnpryan! I know it's a draft, but I will approve. Let me know if it needs further attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants