Delegate Methods
<p>I am having the parentViewController dismiss the modal view because I want it to reload the UIPicker on the parentViewController. The code is really quite simple:</p>

<pre><code>-(void)didDismissFormsView {

NSUserDefaults *profiles = [NSUserDefaults standardUserDefaults];

NSArray *array = [[NSArray alloc]initWithObjects:[profiles stringForKey:@"name1"],[profiles stringForKey:@"name2"],[profiles stringForKey:@"name3"],nil];

self.profileData = array;
[array release];

[self dismissModalViewControllerAnimated:YES];
</code></pre>

<p>}</p>

<p>..and I know that the method is being called correctly from the modal view because I commented out the last line (dismissModal....) and it wouldnt let me dismiss the view.</p>

<p>However, the UIPicker is not updating!!! If I reload the app then the UIPicker is updated because I am using that same code in the viewDidLoad method. Why wouldnt the exact same code be reloading it when that delegate method is called? </p>
