MMNativeImageAsset Class Reference

Inherits from MMNativeAsset : NSObject
Declared in MMNativeAsset.h

Overview

A container for image assets of a native ad.

– initWithImage:componentID:

Constructs a new image asset with the provided data.

- (instancetype)initWithImage:(UIImage *)image componentID:(MMNativeComponentTypeID)componentID

Parameters

image

The image associated with the asset.

componentID

The component ID of the asset.

Discussion

Constructs a new image asset with the provided data.

Declared In

MMNativeAsset.h

  image

The image associated with this asset.

@property (nonatomic, readonly) UIImage *image

Discussion

The image associated with this asset.

Declared In

MMNativeAsset.h