iPhone UIView animation -


grettings you...

i want paginate when user swipe on left or right side of uiview

i able detect swipes using uiswipegesturerecognizer.

now trying when user swiping want give slide animation.

currently have below code

[uiview beginanimations:nil context:nil]; [uiview setanimationtransition:uiviewanimationtransitionflipfromleft, forview:[self cardview] cache:yes]; [uiview setanimationcurve:uiviewanimationcurveeaseinout]; [uiview setanimationduration:0.5]; 

this gives me flip effect when swipe on view.

please provide me example or links try slide effect when swipe on view.

many thanks!

you're going want use uiscrollview, not straight uiview. has support swipes , paging. here's nice tutorial started. luck!


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -