Custom "Done" button in Utility Application
<p>Trying to get custom "Done" button in Utility Application</p>

<ol>
<li>Create new project in Xcode using Utility template</li>
<li>Put image done_button.png in project</li>
<li>Add some code in FlipsideViewController.m in viewDidLoad method. I use this code successfully when change buttons in navigation controllers.</li>
</ol>

<p><code></p>

<pre><code>    UIImage *back_image=[UIImage imageNamed:@"done_button.png"];
    UIButton *back_button = [UIButton buttonWithType:UIButtonTypeCustom];
    back_button.bounds = CGRectMake( 0, 0, back_image.size.width, back_image.size.height);    
    [back_button setBackgroundImage:back_image forState:UIControlStateNormal];
    [back_button addTarget:self action:@selector(done) forControlEvents:UIControlEventTouchUpInside];    
    UIBarButtonItem *barButtonItem_back = [[UIBarButtonItem alloc] initWithCustomView:back_button];
    self.navigationItem.leftBarButtonItem = barButtonItem_back;
    self.navigationItem.hidesBackButton=YES;
    [barButtonItem_back release];
</code></pre>

<p></code></p>

<ol>
<li>I can see standard Done button only, not custom. If I delete this button in xib - I can't see any buttons at all.</li>
</ol>

<p>I think I cant get access to items here - <strong>self.navigationItem.leftBarButtonItem = barButtonItem_back;</strong></p>

<p>plz help
Serg</p>
