开发者

How to make an image with the contents of a UIScrollView?

I have a UIScrollView that changes in height as items are added to it. I want to be able to make an image that is as tall as the scrollview at the time and contains its contents. All I have been able to find online is something that gets me an image of what is currently on the screen.

Has anyone tackled this problem befo开发者_开发百科re? I'm looking for either a snapshot of the UIScrollView, or a tall image that I can add snapshots to to build the image.

Thanks!


Please refer this solution

It does what you want.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜