-renderInContext: renders in the coordinate space of the layer, Iterate over every window from back to frontįor (UIWindow *window in windows]) UIGraphicsBeginImageContextWithOptions(imageSize, NO, 0) ĬGContextRef context = UIGraphicsGetCurrentContext() If (NULL != UIGraphicsBeginImageContextWithOptions) With the sotred NSData then you can share or email or whatever want to do CGSize imageSize = bounds].size Here is my code to take a screenshot and store it as NSData (inside an IBAction).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |