説明なし

FKBindIdCardPickCell.h 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // FKBindIdCardPickVIew.h
  3. // FirstLink
  4. //
  5. // Created by jack on 15/11/3.
  6. // Copyright © 2015年 FirstLink. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "FKIdCardCenter.h"
  10. #define MORE_ID_BTN_TAG 2001
  11. #define SAVE_BTN_TAG 2002
  12. #define CANCEL_BTN_TAG 2003
  13. typedef NS_ENUM(NSUInteger, kPickCellActionType) {
  14. kAcitonTypePickFace = 500, // 选择正面照
  15. kAcitonTypePickInverse, // 选择反面照片
  16. kAcitonTypeRemoveFace, // 删除正面照
  17. kAcitonTypeRemoveInverse, // 删除反面照
  18. kAcitonTypeMoreIdCard, // 选择更多身份证
  19. kAcitonTypeSave, // 保存
  20. kAcitonTypeCancel, // 取消
  21. };
  22. @protocol FKBindIdCardPickCellDelegate <NSObject>
  23. - (void)didClickBtnWithActionType:(kPickCellActionType)actionType;
  24. @end
  25. @interface FKBindIdCardPickCell : UITableViewCell
  26. <UITextFieldDelegate>
  27. @property (nonatomic, weak) id <FKBindIdCardPickCellDelegate> delegate;
  28. @property (nonatomic, strong) UIImageView *faceImgView;
  29. @property (nonatomic, strong) UIImageView *inverseImgView;
  30. @property (nonatomic, strong) UIButton *faceRemoveBtn;
  31. @property (nonatomic, strong) UIButton *inverseRemoveBtn;
  32. @property (nonatomic, strong) UIButton *cancelBtn;
  33. @property (nonatomic, strong) UIButton *moreIdBtn;
  34. @property (nonatomic, strong) UITextField *textField;
  35. @property (nonatomic, strong) UIButton *saveBtn;
  36. + (NSString *)cdnImgUrlStrWithUrlString:(NSString *)url;
  37. @end