1

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 before? 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!

Alan Taylor
  • 493
  • 4
  • 16

1 Answers1

1

Please refer this solution

It does what you want.

Community
  • 1
  • 1
Janak Nirmal
  • 22,706
  • 18
  • 63
  • 99