0

There is a view in xib with it's constranits, I want to remake it's constranits with SnapKit:

self.redView.snp.remakeConstraints { (make) in
    make.left.equalToSuperview()
    make.top.equalTo(300)
    make.width.height.equalTo(100)
}

However, the console print:

Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want. 

Then I check SnapKit issues and get:

SnapKit will never touch a constraint that was not made by SnapKit this is by design because SnapKit relies on complete ownership from creation for all of it's features.

So I wonder is where any way I can delete a view's all constranits of xib?

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.