title: Swift add image or icon in UITextField
body: <p>I would like to add icon/image in UITextfield .The Icon/Image should be left to placeholder.I tried this coding but it is not showing icon/image inside the textfield .</p>
  
  <pre><code>var imageView = UIImageView();
  
  var image = UIImage(named: "usericon.png");
  
  imageView.image = image;
  
  username.leftView = imageView;
  
  username.leftViewMode = UITextFieldViewMode.Always
  </code></pre>