1

I have a code that makes screenshot from my view

UIGraphicsBeginImageContext(self.view.bounds.size);
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();

Currently I am looking around for an approach how to add to the bottom of this ready image logo and text. Some help is much appreciated and thank you in advance.

NCFUSN
  • 1,624
  • 4
  • 28
  • 44

1 Answers1

1

You should check out this answer, it's adding some text to a drawing context: https://stackoverflow.com/a/6993766/662605

Essentially you can use drawInRect: of UIImage with code similar to the code in the link to draw another image into your drawing context.

Community
  • 1
  • 1
Daniel
  • 23,129
  • 12
  • 109
  • 154