Przeglądaj źródła

Fix the background colors on the field editor labels in iOS 6.

Ryan Olson 12 lat temu
rodzic
commit
45c9d70038
1 zmienionych plików z 7 dodań i 0 usunięć
  1. 7 0
      Classes/Editing/FLEXFieldEditorView.m

+ 7 - 0
Classes/Editing/FLEXFieldEditorView.m

@@ -78,6 +78,13 @@
     }
 }
 
+- (void)setBackgroundColor:(UIColor *)backgroundColor
+{
+    [super setBackgroundColor:backgroundColor];
+    self.targetDescriptionLabel.backgroundColor = backgroundColor;
+    self.fieldDescriptionLabel.backgroundColor = backgroundColor;
+}
+
 - (void)setTargetDescription:(NSString *)targetDescription
 {
     if (![_targetDescription isEqual:targetDescription]) {