AFAdSDKAdBadgeView Class Reference

Inherits from UIView
Declared in AFAdSDKAdBadgeView.h

Overview

AFAdSDKAdBadgeView is a view used to inform end users that they are in an advertisement situation. To avoid any confusion and mislead the customer.

Note: The recommended size for the badge is 34x14, if you plan to pick another size, you we recommend to get the best fitting size for a given size with the -sizeThatFits method.

  styleMode

Style mode used by the badge (Default is AFAdSDKAdBadgeStyleModeLight).

@property (nonatomic, assign, readwrite) AFAdSDKAdBadgeStyleMode styleMode

Availability

2.2.0

Declared In

AFAdSDKAdBadgeView.h