There was a scene where I used side-scrolling on the intern, so I will make a note of how to do it!
Select scrollView and place it appropriately! Attach Auto Layout up, down, left and right. But I get an error ⚠️ I get angry when my whereabouts are ambiguous. To solve this, put the View on top of the ScrollView. View extends horizontally to the range you want to scroll horizontally! This is step 1.
AutoLayout of ScrollView is special and it is done like this.
Hold down the command key, select
Content Layout Guide and
View, and add Auto Layout as shown in the image.
Hold down the control key and pull from
Frame Layout Guide to select Equal Widths.
Finally, set the Height of
View and the side-scrolling is complete!
I put a button in View!
By the way, this is the range of
Click here for
The range that
ContentLayoutGuide scrolls, and the range that
FrameLayout displays! !!
That was the way to scroll horizontally.