"unrecognized selector" within a simple internal call
<p>I would like my custom controller (opened by a UITabBarController) to immediately load a UIImagePickerControllerSourceTypeCamera as soon as it is loaded. To achieve this, I added a method - acquirePhoto() and I'm trying to call it from within the - viewDidLoad() but this is causing the error above.</p>

<p>This is the call:</p>

<pre><code>- (void)viewDidLoad {
    [super viewDidLoad];
    [self aquirePhoto];
}
</code></pre>

<p>While this is the method:</p>

<pre><code>- (void)acquirePhoto {
 [[TopBarViewController instance]view].hidden = TRUE;
 UIImagePickerController *picker = [[UIImagePickerController alloc] init];
 [picker setDelegate:self];
 [picker setAllowsEditing:NO];
 picker.sourceType = UIImagePickerControllerSourceTypeCamera;
 [self presentModalViewController:picker animated:YES];
 [picker release];
}
</code></pre>
