Этот сбой случайно происходит у пользователей приложения iOS, и мы получаем подобные отчеты о сбоях через отчеты о сбоях Apple. Прикрепленная трассировка стека взята из Xcode, но до сих пор неясно, что предшествовало проблеме. Кто-нибудь может объяснить, что происходит? Поскольку в трассировке стека нет ничего полезного в нашем приложении, трудно сказать, что привело к сбою или что нужно сделать, чтобы его предотвратить.
CollectionContentsViewController.selectListItem 904B16F6-9945-4A7B-A53D-89A972B0F690/Lobby is NOT in the list
Snapshotting a view (0x104a1aae0, _UIButtonBarStackView) that has not been rendered at least once requires afterScreenUpdates:YES.
*** Assertion failure in -[UINavigationBar layoutSubviews], UINavigationBar.m:3895
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Layout requested for visible navigation bar, delegate=0x105077800, when the top item belongs to a different navigation bar. topItem = title='Stories' style=navigator backBarButtonItem=0x104a3f220 leftBarButtonItems=0x600000c98000 leftItemsSupplementBackButton rightBarButtonItems=0x600000c98b40 standardAppearance=0x60000295ddc0 scrollEdgeAppearance=0x60000295de30, navigation bar = delegate=0x106813200 standardAppearance=0x600002902a00, possibly from a client attempt to nest wrapped navigation controllers.'
*** First throw call stack:
(
0 CoreFoundation 0x00000001804b910c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x0000000180092da8 objc_exception_throw + 72
2 Foundation 0x0000000180e67c70 _userInfoForFileAndLine + 0
3 UIKitCore 0x000000018505b418 -[UINavigationBar layoutSubviews] + 704
4 UIKitCore 0x00000001860a3418 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2404
5 UIKitCore 0x000000018505aff8 -[UINavigationBar layoutSublayersOfLayer:] + 188
6 QuartzCore 0x000000018b335624 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 432
7 UIKitCore 0x000000018609429c -[UIView(Hierarchy) layoutBelowIfNeeded] + 308
8 UIKitCore 0x000000018530ca98 -[UINavigationController _positionNavigationBarHidden:edge:initialOffset:] + 584
9 UIKitCore 0x000000018530cc6c -[UINavigationController _positionNavigationBarHidden:edge:] + 292
10 UIKitCore 0x000000018531cc9c -[UINavigationController __viewWillLayoutSubviews] + 128
11 UIKitCore 0x0000000185304498 -[UILayoutContainerView layoutSubviews] + 168
12 UIKitCore 0x00000001860a3418 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2404
13 QuartzCore 0x000000018b335624 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 432
14 QuartzCore 0x000000018b3403f8 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 124
15 QuartzCore 0x000000018b272430 _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 464
16 QuartzCore 0x000000018b2a0c70 _ZN2CA11Transaction6commitEv + 652
17 QuartzCore 0x000000018b2a21c4 _ZN2CA11Transaction25flush_as_runloop_observerEb + 68
18 UIKitCore 0x0000000185b302fc _UIApplicationFlushCATransaction + 48
19 UIKitCore 0x0000000185a60eb4 __setupUpdateSequence_block_invoke_2 + 352
20 UIKitCore 0x00000001850a5cec _UIUpdateSequenceRun + 76
21 UIKitCore 0x0000000185a60858 schedulerStepScheduledMainSection + 168
22 UIKitCore 0x0000000185a5fc90 runloopSourceCallback + 80
23 CoreFoundation 0x000000018041d294 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
24 CoreFoundation 0x000000018041d1dc __CFRunLoopDoSource0 + 172
25 CoreFoundation 0x000000018041c99c __CFRunLoopDoSources0 + 324
26 CoreFoundation 0x0000000180416e84 __CFRunLoopRun + 788
27 CoreFoundation 0x00000001804166f4 CFRunLoopRunSpecific + 552
28 GraphicsServices 0x00000001905e5b10 GSEventRunModal + 160
29 UIKitCore 0x0000000185b319dc -[UIApplication _run] + 796
30 UIKitCore 0x0000000185b35bd4 UIApplicationMain + 124
31 Our App 0x000000010302e6cc main + 64
32 dyld 0x000000010402d410 start_sim + 20
33 ??? 0x0000000104232274 0x0 + 4364378740
34 ??? 0x4d19000000000000 0x0 + 5555471615338217472
)
libc++abi: terminating due to uncaught exception of type NSException
Подробнее здесь: https://stackoverflow.com/questions/793 ... gation-bar
Сбой UINavigationBar: «Запрошен макет для видимой панели навигации» ⇐ IOS
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение