Juanpe/SkeletonView

IOS 16.1 crash

开放

#512 创建于 2022年9月19日

 (3 条评论) (3 个反应) (0 位负责人)Swift (1,126 个派生)batch import
good first issuetriaged🐞 bug

仓库指标

星标
 (12,893 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南