描述一下我今天遇到的bug情况:
1.app在Windows.rootViewController 下(rootViewController是一个NavigationController)push一个带WebView的Controller,WebView是打开网页有一个调用系统相册的页面,这个时候可以正常调用。
2.app在Windows.rootViewController之上通过presentViewController: animated: completion:加入一个NavigationController,这个NavigationController带一个WebView的Controller,webView上打开一个有调用系统相册的页面,这个时候调用系统相册出现
Warning: Attempt to present <UIImagePickerController: 0x1102c2a00> on <CustomNavigationController: 0x11020f600> whose view is not in the window hierarchy!