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).
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 discouragedIt'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
addChildViewControllermethod (see documentation).