Fixed default placeholder text color for multiline <TextInput>

Reviewed By: javache

Differential Revision: D5018823

fbshipit-source-id: 6ad4a1e8d03b6429a436e0cfdd9a127cd5dc1c2b
This commit is contained in:
Valentin Shergin
2017-05-08 11:31:21 -07:00
committed by Facebook Github Bot
parent fbe6d9321e
commit cf975bbd2e
+1
View File
@@ -39,6 +39,7 @@ static UIColor *defaultPlaceholderTextColor()
_placeholderView = [[UILabel alloc] initWithFrame:self.bounds];
_placeholderView.isAccessibilityElement = NO;
_placeholderView.numberOfLines = 0;
_placeholderView.textColor = defaultPlaceholderTextColor();
[self addSubview:_placeholderView];
}