PlaceHolder animates when start typing in TextField in iOS
问题 How to set this type of animation in UITextField ? Nowadays, Many apps are using this. 回答1: I've found the solution. You can manage this type of animation using multiple labels, and show-hide those labels into textFieldDidBeginEditing method. If you want nice animation same as you describe into your question, then try once following third party repository for UITextField . JVFloatLabeledTextField UIFloatLabelTextField FloatLabelFields If you are looking for the UITextView equivalent of this