I used command-delete to remove some constraints on the Map View widget in IB. Instead of being completely removed, the constraints are actually just faded as shown in the attached picture.
I have tried both saving the file and reopening the project, but it seems like they will not be removed by XCode.
How can I get them removed?
EDIT
This is what I see in the Size Inspector window
I am using XCode 6 (6A313)
Open Utilities panel on XCode and select Size Inspector. Here list of all constraints are listed for selected view in storyboard. Now, select constraint(s) you want to delete. Now hit Backspace key on keyboard and selected constraints are deleted.
Clicking the Edit button in any of the constraints brings up a popover where you can change the constraint's relationship, constant, priority, or multiplier. To make additional changes, double-click the constraint to select it and open it in the Attribute inspector.
By unchecking "constraints to margin", you are adding constraints, meaning your interface will react correctly to changes in size or orientation.
Select it in the left panel and hit backspace to delete for good.
instead of using cmd and delete, select the view ,goto size inspector and delete the constraints there, here is the screen shot for your reference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With