Inherits from UIView
Declared in INKAppIconView.h

Overview

A view that shows a single image presented as an app icon (i.e. it is masked to an iOS 7-style superellipse and has a border

Tasks

Properties

image

@property (strong, nonatomic) UIImage *image
Discussion

The UIImage to be displayed.

Declared In

INKAppIconView.h

Instance Methods

initWithImage:

- (id)initWithImage:(UIImage *)image
Discussion

Initialize with a UIImage

Parameters

image

The value to be set on the object’s image property

Return Value

A properly instantiated INKAppIconView object. Its size will be set automatically.

Declared In

INKAppIconView.h

maskImageWithCompletion:

- (void)maskImageWithCompletion:(void ( ^ ) ( UIImage *maskedImage ))completion
Discussion

Masks the given image.

Parameters

completion

A completion block whose only argument is the masked UIImage object.

Declared In

INKAppIconView.h