Browse Source

PDFTools(iOS) - Filed Name精确到时间戳

chenyu 1 year ago
parent
commit
ad325c13cf

+ 1 - 3
compdfkit-tools/compdfkit-tools/Common/Views/PDFView/PDFListView/CPDFListView+Form.m

@@ -451,7 +451,7 @@
 
 
 - (NSString *)tagString {
 - (NSString *)tagString {
     NSDateFormatter *formatter = [[NSDateFormatter alloc ] init];
     NSDateFormatter *formatter = [[NSDateFormatter alloc ] init];
-    [formatter setDateFormat:@"YYYY-MM-dd HH:mm:ss"];
+    [formatter setDateFormat:@"YYYY-MM-dd HH:mm:ss SS"];
     NSString *dateString = [formatter stringFromDate:[NSDate date]];
     NSString *dateString = [formatter stringFromDate:[NSDate date]];
     return dateString;
     return dateString;
 }
 }
@@ -470,8 +470,6 @@
     UIMenuItem *propertiesItem = [[UIMenuItem alloc] initWithTitle:NSLocalizedString(@"Properties", nil)
     UIMenuItem *propertiesItem = [[UIMenuItem alloc] initWithTitle:NSLocalizedString(@"Properties", nil)
                                                         action:@selector(menuItemClick_FormProperties:)];
                                                         action:@selector(menuItemClick_FormProperties:)];
     
     
-    UIMenuItem *editNoteItem = [[UIMenuItem alloc] initWithTitle:NSLocalizedString(@"Edit", nil)
-                                                       action:@selector(menuItemClick_FormEdit:)];
     
     
     UIMenuItem *optionItem = [[UIMenuItem alloc] initWithTitle:NSLocalizedString(@"Option", nil)
     UIMenuItem *optionItem = [[UIMenuItem alloc] initWithTitle:NSLocalizedString(@"Option", nil)
                                                        action:@selector(menuItemClick_Option:)];
                                                        action:@selector(menuItemClick_Option:)];

+ 2 - 0
compdfkit-tools/compdfkit-tools/Form/Controller/CPDFArrowStyleTableView.m

@@ -86,7 +86,9 @@
 #pragma mark - Initializers
 #pragma mark - Initializers
 
 
 - (instancetype)initWithFrame:(CGRect)frame {
 - (instancetype)initWithFrame:(CGRect)frame {
+    
     if (self = [super initWithFrame:frame]) {
     if (self = [super initWithFrame:frame]) {
+        
         self.headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.bounds.size.width, 50)];
         self.headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.bounds.size.width, 50)];
         self.headerView.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.1].CGColor;
         self.headerView.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.1].CGColor;
         self.headerView.layer.borderWidth = 1.0;
         self.headerView.layer.borderWidth = 1.0;