You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In XXNibBridge 2.3.0 version, create new constraints for the realView at instantiateRealViewFromPlaceholder(). It doesn't invoke setFd_collapsibleConstraints for updating collapsible constraints.
So the view's collapse action goes wrong because of the realView was not setFd_collapsibleConstraints.
The text was updated successfully, but these errors were encountered:
Add the several lines after the line in XXNibBridge.m
[realView addConstraint:newConstraint];
//************* This section works for UIView+FDCollapsibleConstraints
NSMutableArray *constraints = objc_getAssociatedObject(realView, @selector(fd_collapsibleConstraints));
if (!constraints) {
constraints = @[].mutableCopy;
objc_setAssociatedObject(realView, @selector(fd_collapsibleConstraints), constraints, OBJC_ASSOCIATION_RETAIN);
}
// Store original constant value
objc_setAssociatedObject(newConstraint, @selector(fd_originalConstant), @(constraint.constant), OBJC_ASSOCIATION_RETAIN);
[constraints addObject:newConstraint];
In XXNibBridge 2.3.0 version, create new constraints for the realView at instantiateRealViewFromPlaceholder(). It doesn't invoke setFd_collapsibleConstraints for updating collapsible constraints.
So the view's collapse action goes wrong because of the realView was not setFd_collapsibleConstraints.
The text was updated successfully, but these errors were encountered: