how to make a button to take a screenshot in app

Discussion in 'iOS Programming' started by tacotester1, Jan 2, 2014.

  1. tacotester1 macrumors member

    Dec 19, 2013
    Hi I have developed a simple app
    that i can put text over an image.

    I was looking for a way to add a button and make it take a screenshot of part of the screen and it saves to camera roll? the screen will be a UIImage view with a label that is text over it.

    has any one dealt with this?

    I have read a little about QuartzCore
    but do not know how to implement correctly.

    Thanks for the help!:)
  2. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    UIView has a new method for this under iOS 7: snapshotViewAfterScreenUpdates:
  3. tacotester1 thread starter macrumors member

    Dec 19, 2013
    THANK YOU!!! I will look into that Thank you so much

Share This Page