Please see the demo in here -->
Horizontal Paging UIScrollView with UIPageControl Swift 5 XCode 10.2.1
This a app that can slide horizontally page by page!
This app was developed following this medium article(https://medium.com/@anitaa_1990/create-a-horizontal-paging-uiscrollview-with-uipagecontrol-swift-4-xcode-9-a3dddc845e92) and customized by myselves.