My view hierarchy looks like this:
- (root) PRSBaseViewController - a UIViewController subclass - has child viewControllers 
- (presented) PRSModalWebViewController - a UINavigationController subclass
- (pushed, animated:NO) PRSWebViewController - a UIViewController subclass - WKWebView is a subview.
 
 
 - (presented) PRSModalWebViewController - a UINavigationController subclass
 
When I try and long press on a link in the WebView I get the error:
Warning: Attempt to present <WKActionSheet: 0x127520d10> on <PRSBaseViewController: 0x1275117f0> whose view is not in the window hierarchy!
Instead of presenting the navigation using presentViewController:animated:completion and instead use the addChildViewController: dance to add it the view controller to the hierarchy. I get no errors, It's quite strange.
Does anyone know what could be causing the view hierarchy issues?
Update: I've made a Gist of all my classes