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: 150

Filed under:
|
|

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...

enter image description here

For each item on the timeline, the user can tap it to receive a description at the bottom of the screen. My questions are...

  1. 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?
  2. Are there any performance issues I need to consider when implementing this with a UIScrolLView, using a static image?
  3. 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

Related posts about iphone

Related posts about ios