Search code examples
ioslayoutstoryboardconstraintsxcode11.2.1

xcode Version 11.2.1 storyboard converts 0 constraint to standard


I am facing a problem in xcode Version 11.2.1 for setting constraints of anything inside of storyboard.

When I try to put constraint 0, it automatically converts it to the standard. I've attached the screenshot.

enter image description here

is there any proper solution to resolve this issue?

I'm attaching another screenshot and want to remove space between these views

enter image description here


Solution

  • Apple says that this bug will be fixed in Xcode 11.4:

    Fixed a bug that prevented entering a 0 constant in the constraint popup editors. (54076090)

    Please, check this answer https://stackoverflow.com/a/59465865