UIView(MBSnapshotImage) Category Reference

Declared in UIView+MBSnapshotImage.h

Overview

A UIView class extension that provides methods for creating snapshot images of a view.

Acquiring snapshot images from views

– snapshotImage

Returns a UIImage instance containing a rendering of the receiver’s content.

- (nonnull UIImage *)snapshotImage

Return Value

The image.

Declared In

UIView+MBSnapshotImage.h

– coreImageSnapshot

Returns a CoreImage CIImage instance containing a rendering of the receiver’s content.

- (nonnull CIImage *)coreImageSnapshot

Return Value

The image.

Declared In

UIView+MBSnapshotImage.h

– coreGraphicsSnapshot

Returns a CoreGraphics CGImageRef containing a rendering of the receiver’s content.

- (nonnull CGImageRef)coreGraphicsSnapshot

Return Value

The image.

Declared In

UIView+MBSnapshotImage.h