Reputation: 7756
I have attached an image and i wish to know how to achieve the highlighted swipable view to show images and some text.
thanks
Upvotes: 0
Views: 85
Reputation: 1581
use horizontal table views, as shown here
It's a lot more scalable, will spare you all the memory management boiler-plate code, and is a lot more efficient on older version of iPhones/iPod (which have much less memory).
Edit: just to be more specific. If you know before hand that your paging doesn't need to scale up, then a standard page controller is a good solution. On the other hand, if you can't put an upper limit on the number of pages or if each page has a significant memory footprint, or requires 2d image manipulation, then horizontal table view may be a solution.
Upvotes: 1
Reputation: 23223
Use a UIScrollView
with pagingEnabled = YES
The dots under it are a UIPageControl
which shows users how many pages of content there is and their position in the content.
Upvotes: 2