123456789101112131415161718192021222324252627282930313233 |
- //
- // CPDFEditView.m
- // PDFViewer
- //
- // Created by kdanmobile_2 on 2022/12/26.
- //
- #import "PDFWatermarkEditView.h"
- @implementation PDFWatermarkEditView
- - (instancetype)initWithFrame:(CGRect)frame {
- self = [super initWithFrame:frame];
-
- if (self) {
- _editTableView = [[UITableView alloc] initWithFrame:self.bounds style:UITableViewStylePlain];
- _editTableView.backgroundColor = [UIColor systemGrayColor];
- _editTableView.rowHeight = 50;
- _editTableView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
- _editTableView.tableFooterView = [[UIView alloc] init];
- [_editTableView setEditing:YES animated:YES];
- _editTableView.allowsMultipleSelection = NO;
- _editTableView.allowsSelectionDuringEditing = NO;
- _editTableView.allowsMultipleSelectionDuringEditing = NO;
-
- [self addSubview:_editTableView];
-
- self.backgroundColor = [UIColor purpleColor];
- }
- return self;
- }
- @end
|