开发者

how to make horizontal scroll view of images .?

开发者 https://www.devze.com 2022-12-10 09:14 出处:网络
i am new developer on iphone and i am working on a project. the problem i am having is that i have no idea about how to create a horizontal scroll view of images. what i want is that when i click on t

i am new developer on iphone and i am working on a project. the problem i am having is that i have no idea about how to create a horizontal scroll view of images. what i want is that when i click on the table view containing image thumbs, i should view开发者_如何学运维 the same image in a much larger size and scroll the other images that are on the left and the right.


The class you want is UIScrollView. You can add multiple UIImageViews to a UIScrollView.

In addition to ScollingMadness recommended by luvieere, check out Apple's UIScrollView sample code which is referneced from the Xcode UIScrollView documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消