Is it possible to tile images in a UIScrollView without having to manually create all the tiles?

前端 未结 5 1584
清歌不尽
清歌不尽 2020-12-23 18:20

In the iPhone sample code \"PhotoScroller\" from WWDC 2010, they show how to do a pretty good mimmic of the Photos app with scrolling, zooming, and paging of images. They al

5条回答
  •  粉色の甜心
    2020-12-23 18:33

    Deepa's answer above will load the entire image into memory as a UIImage (the input variable in his function), defeating the purpose of tiling.

提交回复
热议问题