title: How can I change UITextField leftview frame
body: <p>How can I change the position of the <code>leftView</code> in a <code>UITextField</code>?</p>
  
  <p>I have tried this, but the <code>leftView</code> position does not change</p>
  
  <pre><code>UIView *view = [[UIView alloc]init];
  [view setFrame:CGRectMake(10, 10, 15, 15)];
  [view setBackgroundColor:[UIColor blackColor]];
  [self.urlBar setLeftView:view];
  [self.urlBar setLeftViewMode:UITextFieldViewModeAlways];
  </code></pre>