Tuesday, 28 May 2013

UIScrollView paging pattern

UIScrollView paging pattern

Not sure if I used a right topic for this question or not, anyway, I want to create the paging effect that we get from UIScrollView thorough an IBAction. (By pressing that button the view pages like when we swipe left on the scroll view)
I have a client that wants me to make a flashcard thing for her, and she wants to have one flashcard in each view. I try and put all the flashcards in one scroll view and the paging was prefectly working, but I did not get the UIViewAnimationTransitionFlipFromRight effect.
I implement the flashcard effect, by basically have a hover view, and then added two subviews to that hover view, and put a button the same size of the views on top of them. It works fine when it is not in scroll view.
So do you guys have any suggestion how to implement this? Am I doing something wrong in scroll view? Is it good to actually implement the paging effect (if its's possible) through out action target?
Thanks in advanced.

No comments:

Post a Comment