Juanpe/SkeletonView

IOS 16.1 crash

Ouverte

#512 ouverte le 19 sept. 2022

 (3 commentaires) (3 réactions) (0 personne assignée)Swift (1 126 forks)batch import
good first issuetriaged🐞 bug

Métriques du dépôt

Stars
 (12 895 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur