Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Content and Frame layout guides from UIScrollview

I made a pod Xcode 11 and iOS 13, created an UIScrollview and set my content there.

While installing on an older main project, this alert message shows:

Content and frame layout guides before iOS 11.0

I can see the said layout guides in Interface Builder:

Interface Builder layout guides

How can I remove them?

like image 280
alxlives Avatar asked Nov 01 '19 15:11

alxlives


People also ask

How to remove top layout guide Xcode?

To change this, select the view controller, and show the Attributes Inspector. Change the Status Bar attribute from Inferred (as shown in your question) to None.

What is frame layout guide?

FrameLayout is designed to block out an area on the screen to display a single item. Generally, FrameLayout should be used to hold a single child view, because it can be difficult to organize child views in a way that's scalable to different screen sizes without the children overlapping each other.


2 Answers

Simply uncheck the Content Layout Guides.

This option is found under the Size Inspector tab in storyboard.

enter image description here

like image 177
Jishnu Raj T Avatar answered Oct 16 '22 16:10

Jishnu Raj T


Uncheck "Content Layout Guides" on the scroll view.

Select ScrollView -> Property size inspector -> At the foot of the top-most Scroll View section (XCode 11.3.1)

like image 10
RichW Avatar answered Oct 16 '22 17:10

RichW