Thursday, 15 April 2010

ios - UICollectionView with Paging Enable -



ios - UICollectionView with Paging Enable -

i have create grid view appstore ios app. want uicollectionview paging. have implemented code not able scroll that.

what want there 1 image in center , @ both sides(left , right), should show portion of previous , next image. have set frame uicollectionview 320*320. cell size 290*320.(cell min spacing 10)1

below 2 links depicts requirement. in advance.

(this want) 2

have tried setting scroll direction of uicollectionviewflowlayout horizontal?

[yourflowlayout setscrolldirection:uicollectionviewscrolldirectionhorizontal];

you'll need enable paging on collection view so:

[yourcollectionview setpagingenabled:yes];

ios objective-c uiscrollview uicollectionview paging

No comments:

Post a Comment