Add placeholder to UITextView Swift
Add placeholder to UITextView Swift
There are instances where we need to use UITextView as a multi-line text field in our app. The UITextView does not provide a placeholder property like the UITextField. So, in order to achieve this we need to implement the following methods in our UIViewController:
class DemoVC: UIViewController, UITextViewDelegate { //hook this to the storyboard UITextView @IBOutlet weak var…
View On WordPress
















