Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

0 space to superview but still have gap between them in Xcode

I drap a Text View into one viewController in storyborad and set 'auto layout' which make this textView to be 0 top ,0 leading ,0 trailing to its superview. But why still there're gap(8 pixel about) on left and right respectively between them? In outline document there's top(and bottom) layout guide,are they the guilty?

like image 355
PeiweiChen Avatar asked Nov 18 '25 03:11

PeiweiChen


1 Answers

Uncheck "Constrain to margins" in the pin menu (bottom right of storyboard)

like image 135
Jing Avatar answered Nov 20 '25 17:11

Jing



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!