pinkstone.co.uk
How to avoid “whose view is not in the window hierarchy” error when presenting a UIViewController
When you present a view controller from another one, iOS will do it just fine but may complain with something along the lines of the following error message: Warning: Attempt to present