Constrains

i have a problem...


Then i open my Constrains and in the 4 input if i set it to 0 then its change to the text default

and not to 0


and i have not have this problem before.. are there a way to change it or what ?

plz help...

Replies

please, be more clear.


i open my Constrains and in the 4 input if i set it to 0 then its change to the text default and not to 0

- constraints of what object ?

- what are those 4 input ?

- What do you set to zero ?

- What is the text default

then i try to make " Add New Constraints"


So you have 4 inputs field where you can set your value...


If i set value to 0 and click on next input field.. then it change my value to text (default)

why ?


and it not do the right to my image..

And i have not have this problem before it just came suddenly


So my question are.. can i change it some where ?

Which version of XCode ?


So you have 4 inputs field where you can set your value...

Yes, and there is a dimmed red line next to each direction


If i set value to 0 and click on next input field.. then it change my value to text (default)

Do you see the line become brighter (activated) and the button say "add x constraints" ?


Have you other constraints defined (such as center in safe area… or align with other object): they may conflict with those Springs & Struts constraints.

11.3


no i just add imageview

and then i make this constraints


and then i set to 0 then change to default and get grey


I why its do this i dont know i have not this problem before..

and i just reinstall my mac...

so its a clean install. on it

this video i follow

https://www.youtube.com/watch?v=emojd8GFB0o


and if you go to 23.55 in so can you see he change value to 0 and click on next value. and its still show 0 then he click on next one.

but in my case. it change to text " default " and will no do what the do on this video..


But i have not have this problem all time..


So could it be at bug in update or ??

Iy is very hard to understand without screenshots.


You write:

no i just add imageview

and then i make this constraints


But my question was about what you said:

you said: So you have 4 inputs field where you can set your value...

I replied: Yes, and there is a dimmed red line next to each direction


So, could you answer this question:

When you set to 0, do you see the small red line (which goes from the central square to the place where you typed 0) become brighter (activated) and the button at the bottom say "add x constraints" ?

i really dont understand why its do it.

and cant find any thing to fix it..

Have try to reinstall the mac. install 11.2.1 version and stil the same...


And on the video its xcode 11.3

I have now reinstall my mac 2 times.

and install xcode 11.2 but its do the same..


I have search and search and no help to find how i fix my problem


And in the link to movie where he do what i have done many times and works like his.

but som way of no where its not work more..

and give me a text in value " standard " and its danish.

but where sould be 0 in stead


some one who know how i fix this.. or what its wrong..

really ned help...

Did you follow exactly as described in video ?


- @24:05:

- enable all 4 constraints (that turns the red lines I spoke about from dimmed to bright)

- unselect the checkbox Constraint to margings

- then set the values

- Tap "Add X new constraints"


Did you do all those steps ?


Note that there are no other constraint defines than those 4.

yes..

i have follow the video... and its work fine in the start.. and i have do it many time..

but some reason its dont do this now..

where its 0 now its turn to " text " - standard - its danish...


and i really dont know how i fix it..


I have reinstall my mac 2 times now and install xcode 2 times and its the same problem each time..

and i can find any thing on internet to solved my problem

i am reinstall my mac again..

then i wil try to install xcode 11


and try again and see its problem its the same


I can make at screen record so you can se whats the problem are..

Here can you see my issue


h ttp://www.xpaintbyg.dk/2019-12-20%2000-25-33.mov


hobe now it explain my problem


And it doesnt matter if

unselect the checkbox Constraint to margings

or its

selectet the checkbox Constraint to margings


i can make a new video where its unselect if you want?

It seems you are not the only one to have problems here:

https://forums.developer.apple.com/update-advanced-comment.jspa?id=399405&draftID=417517

okay..


And there are no solutions to fix it..

Hmm... i mean its a bug in xcode or there are something there miss to be install...

But what it its i dont know and there its no help to fix this issue

i will find a better program there have no issue or bug...

Its really bad. make a program and its gives a issue and can not be fix...


I deletet this program.. and get a better program...


even xcode or apple can help. and dont know nothing.