Equivalent to the Android's ViewPager on iOS? Swipe/flip through pages of data
问题 On Android there's neat way to browse between several pages of data with the same layout by using ViewPager and Fragments. User swipes left or right, and the pages change. There's only one view controller and one layout resource for all pages, but the data content changes when the user browses. There's also an animation effect to the swiping left and right where you can see the content of the next page is already loaded. What is the equivalent to this on iOS? 回答1: Use a UIScrollView with the