Jin-guk Park
Jin-guk Park

Reputation: 241

How to set margin to zero between views in storyboard Xcode11

I have a question while developing iOS application using Xcode11.4.

This is my first time to developing iOS, sorry for my stupidity.
Storyboard development is too hard to me.

the view what I wanna make
This is what I wanna make.

The way I did is make a stackview and put two textviews in stackview.
And it's not problem so far.

enter image description here
< My storyboard >

There is vertical margin between textviews, so I tried to set them to zero using View inspector. enter image description here


But it is not working, and Xcode displaying constraint error.
Is there any better way to set margin to zero between vertical TextViews?

Thanks.

Upvotes: 1

Views: 134

Answers (1)

R7G
R7G

Reputation: 1060

Select your stack view > now select attribute inspector which is showing with blue icon in this image

enter image description here

now edit spacing as you want

Upvotes: 1

Related Questions