marinofaggiana 4 years ago
parent
commit
2223d86565
1 changed files with 14 additions and 0 deletions
  1. 14 0
      iOSClient/Main/CCMain.m

+ 14 - 0
iOSClient/Main/CCMain.m

@@ -2343,6 +2343,20 @@
         
     } else {
         
+        /*
+         self.viewRichWorkspace.translatesAutoresizingMaskIntoConstraints = false;
+         self.viewRichWorkspace.backgroundColor = [UIColor redColor];
+         
+         //[[self.viewRichWorkspace.leftAnchor constraintEqualToAnchor:self.tableView.leftAnchor] setActive:true];
+         //[[self.viewRichWorkspace.rightAnchor constraintEqualToAnchor:self.tableView.rightAnchor] setActive:true];
+         [[self.viewRichWorkspace.widthAnchor constraintEqualToAnchor:self.tableView.widthAnchor] setActive:true];
+         [[self.viewRichWorkspace.centerXAnchor constraintEqualToAnchor:self.tableView.centerXAnchor] setActive:true];
+         [[self.viewRichWorkspace.topAnchor constraintEqualToAnchor:self.tableView.topAnchor] setActive:true];
+         [[self.viewRichWorkspace.heightAnchor constraintEqualToConstant:200] setActive:true];
+         */
+        
+        self.viewRichWorkspace.backgroundColor = [UIColor redColor];
+
         [self.viewRichWorkspace setFrame:CGRectMake(self.tableView.tableHeaderView.frame.origin.x, self.tableView.tableHeaderView.frame.origin.y, self.tableView.frame.size.width, heightRichWorkspace)];
     }