What is the view used to create the Template Chooser view in the iWork apps on iPad?

How can I create a view like that on iPad, and what would be a best way to implement it on iPhone considering screen size constraints.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There isn’t any built-in view that will provide that functionality. Which means there will be quite some work to duplicate that functionality.
What you can try is:
1) Create a new
UIViewControllerwith a nib.2) Add the top bar and an
UIScrollViewwith opaque = NO and alpha = 0.3) If you have a fixed number of “templates” they can be added directly in the nib. You should be able to use
UIImageView4) Otherwise you can add the “templates” dynamically in e.g.
viewDidLoad. The only part which can be a little bit tricky is calculating the frame. The following pseudo code should get you started.After you have got the layout perfected the rest should be quite straightforward since you only need to respond to taps on your template images. Take a look at
UITapGestureRecognizerfor one way of doing that.Regarding the iPhone. I would probably do it in the way you select a document in the iWorks apps. Only one template is displayed on screen at the time and you swipe left/right to choose. But it all depends on the context. Perhaps a table view is better suited for the iPhone.
Good luck!