/MLScreenshot

Get a screenshot from a UIView easy as pie.

Primary LanguageObjective-CMIT LicenseMIT

mRs- / MLScreenshot

Licence informations: MIT

Generating a Screenshot of a UIView with this small category. It's easy as pie.

Example

UIView *view = [[UIView alloc] initWithFrame:frame];
UIImage *screenshot = [view screenshot];

No more thinking about UIGraphicsBeginImageContext(). It's just easy to read and easy to use.