Juanpe/SkeletonView

IOS 16.1 crash

Aperta

#512 aperta il 19 set 2022

 (3 commenti) (3 reazioni) (0 assegnatari)Swift (1126 fork)batch import
good first issuetriaged🐞 bug

Metriche repository

Star
 (12.893 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

iOS 16.1 beta version crashed

What type of issue is this? (place an x in one of the [ ])

  • [ x] bug
  • enhancement (feature request)
  • question
  • documentation related
  • discussion

Requirements (place an x in each of the [ ])

  • [x ] I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • [x ] I've read and agree to the Code of Conduct.
  • [ x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

iOS 16.1 beta version crashed

SkeletonView Environment:

SkeletonView version: 1.25.1 **Xcode version:**13.2.1 Swift version: 5

Attachments:

SkeletonView UIView+Swizzling.swift - Line 21 @objc UIView.skeletonLayoutSubviews() + 21

Fatal Exception: NSGenericException Unable to activate constraint with anchors <NSLayoutDimension:0x280d89440 "_UINavigationBarTitleControl:0x10657df40.height"> and <NSLayoutDimension:0x280d9df80 "UILayoutGuide:0x2821ecc40'TitleViewGuide(0x106450900)'.height"> because they have no common ancestor. Does the constraint or its anchors reference items in different view hierarchies? That's illegal.

Guida contributor