title: UITextField won't change text color properly
body: <p>I have a <code>UITextField</code> that is an address bar for a web browser. When the user loads a page and the page finishes loading, I want the textfield to change the text color to dark gray. It does this just fine. However, when the user edits the textfield again I want the text color to change back to black. Using the <code>-(BOOL) textFieldShouldBeginEditing:(UITextField *)textField</code> method I try to change the color by using <code>addressBar.textColor = [UIColor blackColor];</code> but it does not work. What am I doing wrong?</p>