iPad: How can I implement a scrolling timeline using a static image?
Posted
by
BeachRunnerJoe
on Stack Overflow
See other posts from Stack Overflow
or by BeachRunnerJoe
Published on 2012-10-05T03:36:25Z
Indexed on
2012/10/05
3:37 UTC
Read the original article
Hit count: 147
I'm diving into iOS development and I'm building a simple timeline app using a static timeline image that I already have. The timeline image won't fit on the screen. The width of the image is about five times the width of the iPad screen, so I have to allow the user to scroll the image horizontally. Here's a mockup...
For each item on the timeline, the user can tap it to receive a description at the bottom of the screen. My questions are...
- I was planning to use a UIScrollView with a PageControl at the bottom. Can a UIScrollView hold a single view that holds the entire timeline image or do I have to break the the timeline image up into multiple views?
- Are there any performance issues I need to consider when implementing this with a UIScrolLView, using a static image?
- Are there other approaches to implementing this scrollable timeline that I should consider other than using a UIScrollView?
Thanks so much in advance for your wisdom!
© Stack Overflow or respective owner