Tisha Anand
Tisha Anand

Reputation: 319

Xcode 6.1.1 autolayout error

After checking the "Use Autolayout" option, I am getting the following error:

Alignment constraints with different attributes with Xcode versions prior to 5.1

Why am I getting this error? What should I do to use autolayout?

Upvotes: 2

Views: 1084

Answers (1)

Zigii Wong
Zigii Wong

Reputation: 7826

I guess you were using old version project.

General -> Deployment Target -> DropDownlist choose Deployment Target above 5.1

Edit:

enter image description here

Upvotes: 1

Related Questions