Juanpe/SkeletonView

IOS 16.1 crash

Open

#512 opened on Sep 19, 2022

View on GitHub
 (3 comments) (3 reactions) (0 assignees)Swift (1,125 forks)batch import
good first issuetriaged🐞 bug

Repository metrics

Stars
 (12,873 stars)
PR merge metrics
 (No merged PRs in 30d)

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.

Contributor guide