Сбой моего приложения в uikit, происходит только на IPhone X и выше, имя исключения NSInternalInconsistencyExceptionIOS

Программируем под IOS
Ответить
Anonymous
 Сбой моего приложения в uikit, происходит только на IPhone X и выше, имя исключения NSInternalInconsistencyException

Сообщение Anonymous »

Не удалось загрузить данные растрового изображения ограничивающего пути из диспетчера активов для имени актива: BoundingPathBitmap-1125x2436-375x812-3.00x

Сбой произошел на контроллере представления, содержащем UIScrollView, когда откройте его,и происходит только на iPhone X и выше

Мы разрабатываем пользовательский интерфейс приложения с использованием раскадровки

Код: Выделить всё

    0 CoreFoundation    ___exceptionPreprocess + 228
1 libobjc.A.dylib   objc_exception_throw + 56
2 CoreFoundation    +[_CFXNotificationTokenRegistration keyCallbacks]
3 Foundation    -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112
4 UIKitCore -[_UIScreenBezierBoundingPathUtilities _loadBitmapForScreen:type:] + 1124
5 UIKitCore -[_UIScreenBezierBoundingPathUtilities initWithScreen:] + 144
6 UIKitCore +[_UIScreenBoundingPathUtilities boundingPathUtilitiesForScreen:] + 108
7 UIKitCore -[UIScreen _boundingPathUtilities] + 56
8 UIKitCore -[UIWindow _boundingPath] + 168
9 UIKitCore -[UIView(UIViewBoundingPathSupportInternal) _effectiveBoundingPathAndBoundingPathView:] + 256
10 UIKitCore    -[UIView(UIViewBoundingPathSupport) _inscribedRectInBoundingPathByInsettingRect:onEdges:withOptions:] + 88
11 UIKitCore    -[UIScrollView(UIScrollViewInternal) _baseInsetsForTrailingEdgeAccessoryWithBoundingPathEdgesToUse:safeAreaInsets:bounds:scale:accessoryWidth:additionalInsetFromEdge:] + 180
12 UIKitCore    -[UIScrollView(UIScrollViewInternal) _baseInsetsForAccessoryOnEdge:hasCustomClientInsets:accessorySize:additionalInsetFromEdge:] + 1388
13 UIKitCore    -[UIScrollView(UIScrollViewInternal) _effectiveVerticalScrollIndicatorInsets] + 152
14 UIKitCore    -[UIScrollView _layoutVerticalScrollIndicatorWithBounds:effectiveInset:contentOffset:fraction:additionalInset:cornerAdjust:showing:recalcSize:] + 252
15 UIKitCore    -[UIScrollView _adjustScrollerIndicators:alwaysShowingThem:] + 1040
16 UIKitCore    -[UIScrollView _updateForChangedScrollIndicatorRelatedInsets] + 132
17 UIKitCore    __UIScrollViewAdjustForOverlayInsetsChangeIfNecessary + 512
18 UIKitCore    -[UIScrollView(UIScrollViewInternal) setSafeAreaInsets:] + 312
19 UIKitCore    -[UIView(Geometry) _applyISEngineLayoutValuesToBoundsOnly:] + 1288
20 UIKitCore    -[UIView(Geometry) _resizeWithOldSuperviewSize:] + 124
21 UIKitCore    -[UIScrollView(_UIOldConstraintBasedLayoutSupport) _resizeWithOldSuperviewSize:] + 52
22 CoreFoundation   -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 464
23 UIKitCore    -[UIView(Geometry) resizeSubviewsWithOldSize:] + 156
24 UIKitCore    -[UIView(AdditionalLayoutSupport) _is_layout] + 152
25 UIKitCore    -[UIView(Hierarchy) _updateConstraintsAsNecessaryAndApplyLayoutFromEngine] + 988
26 UIKitCore    -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1380
27 QuartzCore   0x00000001ca79e000 + 1309564
28 QuartzCore   0x00000001ca79e000 + 1329972
29 QuartzCore   0x00000001ca79e000 + 669080
30 QuartzCore   0x00000001ca79e000 + 859848
31 QuartzCore   0x00000001ca79e000 + 863536
32 CoreFoundation   ___CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
33 CoreFoundation   ___CFRunLoopDoObservers + 412
34 CoreFoundation   ___CFRunLoopRun + 1264
35 CoreFoundation   CFRunLoopRunSpecific + 436
36 GraphicsServices GSEventRunModal + 100
37 UIKitCore    UIApplicationMain + 212
38 live main (main.mm:23)
39 libdyld.dylib    0x00000001c5d2a000 + 2996
надеюсь, кто-нибудь даст мне совет, спасибо

Подробнее здесь: https://stackoverflow.com/questions/556 ... e-nsintern
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «IOS»