自定义签名模板列表

# 当好签的签名模板列表UI不能满足贵司需求时,可以参照以下方法自定义UI ### 类名: WSSignTemplateManager - 获取签名模板列表 ``` //导入头文件 #import <Wellsign_ReaderSDK/Wellsign_ReaderSDK.h> __weak typeof(self) weakSelf = self; [WSSignTemplateManager getSignTempListWithSignerId:@"用户Id" WithBlock:^(BOOL success, NSArray<RWriteTempletModel *> * _Nullable arr, NSString * _Nullable msg) { if (success) { //成功 } else { //失败 } }]; ``` - 新增签名 ``` //新建签名 RWriteBoardControl *vc = [[RWriteBoardControl alloc] init]; vc.isSDKO = YES; vc.delegate = self; [weakSelf.navigationController pushViewController:vc animated:YES]; //签字版回调 -(void)WS_Method_createSignTempletFromWriteBoard:(NSString *)templetPath { //刷新签名view [self WSLReaderBottomToolBarSignButtonClickAction]; } ``` - 插入签名 ``` //插入指定签名模板 - (void)WS_Method_InsertSign:(RWriteTempletModel *_Nonnull)templet; ``` - 删除签名模板 ``` /// 删除SDKO的签名模板 /// @param tempId 要删除的签名模板id,批量删除签名模板时使用英文字符下的逗号隔开,示例:TMAgYh,ukQ8di /// @param signerId 签署人id /// @param block 回调 + (void)deleteSignTempWithId:(NSString *_Nonnull)tempId signerId:(NSString *_Nonnull)signerId WithBlock:(void(^_Nullable)(BOOL success, NSString *_Nullable msg))block; //使用 NSString *tempId = [arr componentsJoinedByString:@","];//选中的签名模板的id [WSSignTemplateManager deleteSignTempWithId:tempId signerId:signerId WithBlock:^(BOOL success, NSString * _Nullable msg) { if (success) { //do something } }]; ```