我在我的实时应用程序中遇到崩溃.在这里发布Crashlytics的崩溃报告.你能指导我这个吗?
Fatal Exception: UIViewControllerHierarchyInconsistency child view controller:<AVFullScreenPlaybackControlsViewController:> should have parent view controller:<MyAVPlayerViewController:> but actual parent is:<AVFullScreenViewController:>
Fatal Exception: UIViewControllerHierarchyInconsistency
Fatal Exception: UIViewControllerHierarchyInconsistency
0 CoreFoundation 0x181616db0 __exceptionPreprocess
1 libobjc.A.dylib 0x180c7bf80 objc_exception_throw
2 CoreFoundation 0x181616cf8 -[NSException initWithCoder:]
3 UIKit 0x1867f5010 -[UIView(Hierarchy) _associatedViewControllerForwardsAppearanceCallbacks:performHierarchyCheck:isRoot:]
4 UIKit 0x18677cdbc -[UIView(Hierarchy) _willMoveToWindow:withAncestorView:]
5 UIKit 0x18677c13c -[UIView(Internal) _addSubview:positioned:relativeTo:]
6 AVKit 0x18cab3860 -[AVPlayerViewController _updatePlaybackControlsViewController]
7 AVKit 0x18cab20e4 -[AVPlayerViewController observeValueForKeyPath:ofObject:change:context:]
8 Foundation 0x181f37d84 -[NSKeyValueObservance observeValueForKeyPath:ofObject:change:context:]
9 Foundation 0x181f13f64 NSKeyValueNotifyObserver
10 Foundation 0x181f13a8c NSKeyValueDidChange
11 Foundation 0x181efe624 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:]
12 AVKit …Run Code Online (Sandbox Code Playgroud)