Just got this error in our error logging system, been searching hi and low and can't seem to find any solution. Any help is appreciated. Here is the stacktrace.
相关问题
- Loading local file in WKWebView doesn't workin
- UIKit SDK 3.0 error
- willMoveToWindow is called twice
- Swift UIApplication.setStatusBarStyle Doesn't
- rtsp:// liveStream with AVPlayer
相关文章
- Can keyboard of type UIKeyboardTypeNamePhonePad be
- Navigation bar disappears when typing in UISearchC
- How to get a CGImageRef from Context-Drawn Images?
- iOS 8 Today widget alignment issue
- Using the device simulator for iOS 8 with Xcode 7
- Using UILexicon to implement autocorrect in iOS 8
- Can't see custom keyboard in Safari of iOS8.1
- UIAppearance's “when not contained in”
May be in your XCODE log you might have encountered this message
If yes then then try
[self.view.window.rootViewController presentViewController:myVC];
if this fails then make sure you call presentViewController:myVC on immediate presenting ViewController i.e. in your case what I see from trace - CalendarEventDetailViewController.
If that too fail then go backward - from where you are invoking VC which in turn use presentViewController, in iOS8 presentation layer has changed specially WRT UIAlert/UIActionSheet, and UIPopovers, if you are using any of these, create UIAlertController as a separate code track for iOS8 and use presentViewController:myVC on presenting ViewController.
I was facing similar issue where presentViewController: not working at all or disrupting presenting VC contents, in some situations dismissViewController was crashing. Using this approach I could fix it.