开发者

How to create a Gridview in iPhone programmatically?

I want to create a Grid view with images in iPhone progra开发者_StackOverflow社区mmatically. Pls do give me some example for it?


Loop through the rows and columns of images and set the UIImage instance's frame origin some offset-multiple of your image or image-cell width.


Maybe it would be easier to use Three20 component. There is Photo Viewer for displaying images in grid, which "emulates Apple's Photos app with all of its flick n' pinch delight".

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜