AliyunAETemplateAssetText

@interface AliyunAETemplateAssetText : AliyunAETemplateAsset

文字型模板素材 API_AVAILABLE(3.35.0)

  • 渲染文本

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull text;
  • 文本最大长度

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSUInteger maxLength;
  • 替换文本,需要调用AliyunAETemplateEditor::commit才能生效

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *replacedText;