Loop a UIScrollviw with ViewControllers
Posted
by Jim
on Stack Overflow
See other posts from Stack Overflow
or by Jim
Published on 2010-04-15T16:03:08Z
Indexed on
2010/04/15
18:43 UTC
Read the original article
Hit count: 267
Hi
I'm trying to create a UIScrollView with loop that contains a collection of ViewControllers. The answer to this question here shows the code that is the basis for what I'm trying to do. It uses images instead of viewControllers.
I've managed to get the all the viewControllers loaded (4) and displaying but the first view which is a duplicate of the last viewController is blank. I've tried creating a copy of this viewController and adding it to the array but this messes up the transition / count. Any suggestions?
© Stack Overflow or respective owner