Closed RealBonus closed 8 years ago
It seems to be a duplicate of #13.
As discussed in #13, in order to ensure the textAlignment
property works properly, the trailing and width constraints of placeholderLabel
are needed.
The console outputs the warning message which is almost because you forget to set the translatesAutoresizingMaskIntoConstraints
property of the placeholderTextView
to false.
Fixed in d670bb34adb98f6f4e328c5e29ed8eafd84838f6.
Labels requires only one horizontal and one vertical constraint. Try replace textview's bottom constraint with height constraint, and IB will generate warning. Removing tail and bottom constraints will fix that.