PDMessageContentRichText
Inherits from: PDMessageContent : NSObject
Conforms to: NSCoding
Overview
图文消息体类,用于描述图文类型消息数据
Propertys
- 封面图片本地存储路径
@property (nonatomic, strong) NSString* coverPath;
- 标题
@property (nonatomic, strong) NSString* title;
- 摘要
@property (nonatomic, strong) NSString* digest;
- 详情页面地址
@property (nonatomic, strong) NSString* url;
Methods
- 初始化方法
- (id)initWithCover:(NSString*)coverPath andTitle:(NSString*)title andDigest:(NSString*)digest andUrl:(NSString*)url;
参数 类型 说明 coverPath NSString* 封面图片本地存储路径 title NSString* 标题 digest NSString* 摘要 url NSString* 详情页面地址 返回值 id 初始化后的对象指针