forkingdog / forkingdog/FDStackView

在iOS10上removeAllSubviews后,再调用addArrangedSubview Crash

Open
#49 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
2.5k
Forks
310
PR merge metrics
No merged PRs in 30d

Description

在iOS10上removeAllSubviews后,再调用addArrangedSubview Crash,什么原因?

报错:
Assertion failure in -[FDStackView _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3600.7.47/NSLayoutConstraint_UIKitAdditions.m:649
invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.