newTextField.leftView = UIImageView(image: UIImage(named: "phone")) newTextField.leftViewMode = UITextFieldViewMode.Always 就这么简单,mark下