Auto Layout and XCode/IB Warnings
Auto Layout and XCode/IB Warnings
- Subject: Auto Layout and XCode/IB Warnings
- From: Dave <email@hidden>
- Date: Wed, 26 Aug 2015 18:34:22 +0100
In the end I had to delete all the constraints and start again - the XCode interface is pretty naff IMO.
I’ve now added a view I copied from another xib file, the view is very simple and just has two buttons. It was ok in the original xib file, but in the file I’ve copied it to, I now get these warnings:
Button 1
Expected: x=185, width = 84
Actual: x=184, width = 85
Button 2
Expected: width = 75
Actual: width = 76
I’m not sure how to fix this, apart from deleting them all again are re-adding them. Should this work ok? I mean should the constraints carry when a view is copied?
Thanks
Dave
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden