-2

I am just starting conceptually for a meme-generator (writing texts on images) conceptually like this

Meme Generator

But more for an iPhone. what could be the way to achieve this and Draw some text on image and return an image with text.

I need a 1000 foot view of how it will be done. conceptually?

Kashif Zaidi
  • 531
  • 1
  • 6
  • 15
  • 2
    UIView which has - UIImageView which draws Image and UILabel to draw Text. – 0x8badf00d May 10 '13 at 20:10
  • but how would i get the image from that view? an image with text so that i can post it furthur? – Kashif Zaidi May 10 '13 at 20:12
  • 3
    You should do like `Kashif Zaidi` suggested and after that check http://stackoverflow.com/q/4334233/2315974. – danypata May 10 '13 at 20:17
  • 1
    1000-foot view? Learn about graphics contexts. http://www.apeth.com/iOSBook/ch15.html#_graphics_contexts Note that a UIImage knows how to draw itself into a graphics context, and an NSString knows how to draw itself into a graphics context, so you've got it made in the shade. – matt May 10 '13 at 21:59

1 Answers1

3

Conceptually:

  1. create a UIView
  2. add UIImageView(s) to UIView
  3. add UITextView(s) to UIView
  4. create ImageRepresentaion Image from UIView

Related: Save UIView's representation to file

Community
  • 1
  • 1
nooitaf
  • 1,466
  • 11
  • 18