Native ad preparation information class, used to configure references to various UI components of the native ad, including text labels, image views, media containers, interactive buttons, etc. Developers use this class to associate custom UI components with ad content.
@interface ATNativePrepareInfo : NSObject
// Basic ad information display components
@property(nonatomic, strong) UILabel *advertiserLabel; // Advertiser name label
@property(nonatomic, strong) UILabel *textLabel; // Ad description text label
@property(nonatomic, strong) UILabel *titleLabel; // Ad title label
@property(nonatomic, strong) UILabel *ctaLabel; // Call-to-action label (e.g., "Download Now")
@property(nonatomic, strong) UILabel *ratingLabel; // Rating label
// Ad image related components
@property(nonatomic, strong) UIImageView *iconImageView; // Icon image view
@property(nonatomic, strong) UIImageView *mainImageView; // Main image view
@property(nonatomic, strong) UIImageView *logoImageView; // Logo image view
// Ad interaction components
@property(nonatomic, strong) UIButton *dislikeButton; // Dislike button
@property(nonatomic, strong) UIView *mediaView; // Media view (used for videos, etc.)
// Ad additional info components
@property(nonatomic, strong) UILabel *domainLabel; // Domain label
@property(nonatomic, strong) UILabel *warningLabel; // Warning label
// Media container view
@property(nonatomic, strong) UIView *mediaContainerView; // Media content container view
/**
* Load ad preparation info
* @param loadPrepareInfoBlock Callback block for configuring ad preparation info
* @return The configured ad preparation info instance
*/
+ (instancetype)loadPrepareInfo: (void(^)(ATNativePrepareInfo *prepareInfo))loadPrepareInfoBlock;
@end