Swift image slider/carousel UIPageViewController vs Scroll View
<p>I found these examples of doing a images slider/carusel. One using a <a href="https://www.youtube.com/watch?v=OopGGyHKHlU" rel="nofollow">UIPageViewController</a> and one using a <a href="https://www.youtube.com/watch?v=LaWnv5sRpho" rel="nofollow">scrollview</a></p>

<p>In my app I need to embedd a image slider inside a contentview for a VC, then also add click to enlarge to view the image in fullscreen as well. So what are the pros/cons for using a UIPageViewController or a scrollview?</p>

<p>Looking at the two examples they look like they behave the same beside the UIPageViewController showing dots/indicators</p>