title: UIViewController parentViewController access properties
body: <p>I know this question has been asked several times and I did read existing posts on this topic but I still need help. </p>
  
  <p>I have 2 <code>UIViewControllers</code> - parent and child. I display the child <code>UIViewController</code> using the <code>presentModalViewController</code> as below:</p>
  
  <pre><code>ChildController *child = 
   [[ChildController alloc] initWithNibName:@"ChildView" bundle:nil];
  [self presentModalViewController:child animated:YES];
  [child release];
  </code></pre>
  
  <p>The child view has a <code>UIPickerView</code>. When user selects an item from <code>UIPickerView</code> and clicks done, I have to dismiss the modal view and display the selected item on a <code>UITextField</code> in the parent view.</p>
  
  <p>In child's button click <code>delegate</code>, I do the following:</p>
  
  <pre><code>ParentController *parent = 
   (ParentController *)[self.navigationController parentViewController];
  [parent.myTextField setText:selectedText];
  [self dismissModalViewControllerAnimated:YES];
  </code></pre>
  
  <p>Everything works without errors. But I don't know how to load the parent view so that it displays the updated <code>UITextField</code>. </p>
  
  <p>I tried </p>
  
  <pre><code>[parent reloadInputViews];
  </code></pre>
  
  <p>doesn' work. Please help. </p>