title: How to activate UITextView embedded in a navigation bar on view load?
body: <p>I'm working with Xcode 4.3.3 and iOS 5.1, developing an iPad app.</p>
  
  <p>I have a UITextField as the titleView of a navigation bar (in a Storyboard), hooked up to an outlet like so:</p>
  
  <pre><code>@property (weak, nonatomic) IBOutlet UITextField *textFieldName;
  </code></pre>
  
  <p>At the end of my implementation of viewDidLoad, I call:</p>
  
  <pre><code>[self.textFieldName becomeFirstResponder];
  </code></pre>
  
  <p>And...nothing happens.  I can tap on the UITextField to activate it, but can't seem to have the field active when the view launches.</p>
  
  <p>Background: Upon adding a row in the previous view (a UITableView), I'm segueing to this view and want to enable the text field if what would normally be presented as the title of the view is empty.  That is, upon creating a new row in my database, I want the user's first action to be entering a title.  I'm open to other approaches, but would still like to know how to accomplish the stated question.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I was able to get it working by calling:</p>
  
  <pre><code> [self.navigationItem.titleView becomeFirstResponder];
  </code></pre>