Reputation: 55
Trying to develop a test app wherethe look is like ebook. user can flip the pages. However, app will have 40-50 pages to go through. Is there anyway to just update one view and even after re using you can easily turn it over and back. or do I have to create more views to achieve objective. Can someone pls provide suggestion on which technique to use to solve this issue and also what to use for flipping like ebook?
Upvotes: 0
Views: 215
Reputation: 35636
Since you have tagged your question with iOS5
you can use a UIPageViewController (see also this one) to handle this behavior for you (datasource handling, gesture handling etc.). The logic behind it is that you provide an array of view controllers where each one controls and provides content for a page in your book.
Upvotes: 1
Reputation: 3803
One way is, please look in to "page base application". Please create a new project as page base application and work on that. You will find good amount of documentation online for this.
Upvotes: 0