Add missing remove constraints function content

This commit is contained in:
Robert Payne 2016-07-11 21:56:23 -06:00
parent 4f47f13902
commit 9f8ad44677
1 changed files with 3 additions and 1 deletions

View File

@ -175,7 +175,9 @@ public class ConstraintMaker {
} }
internal static func removeConstraints(view: ConstraintView) { internal static func removeConstraints(view: ConstraintView) {
for layoutConstraint in view.snp.installedLayoutConstraints {
layoutConstraint.constraint?.uninstall()
}
} }
} }