Skip to content

AppDelegate's window conformance should be optional #167581

@hellohuanlin

Description

@hellohuanlin

UIApplicationDelegate's window: UIWindow? is optional. This conformance is only required if you specify storyboard in Info.plist (because UIKit would need to do something like delegate.window?.someLogicToInflateMyStorybardAndPutTheEntryViewControllerOntoTheWindow())

In our implementation, the window property isn't optional.

Note that changing window to optional will be a breaking change. I suspect this API isn't commonly used, but we need to think about the implication of the breaking change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectengineflutter/engine related. See also e: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions