Skip to content

Presenting view controllers on detached view controllers is discouraged  #74

@PatrickNLT

Description

@PatrickNLT

It's important that we are able to present view controllers directly from the content view controller of the popover controller (see #25 for an example).

However, when we do, we get the following warning in the console:
Presenting view controllers on detached view controllers is discouraged

It's only a harmless warning for now, but it could become worse in a future OS update, so it really should be fixed.

I believe the fix should be to be able to pass a parent view controller through the API, and set the content view controller as a child of its parent, using the addChildViewController method (see documentation).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions