Is it possible to change UIBarButtonItem title and style in runtime?
<p>In one project, I hope to change UIBarButtonItem and style in runtime</p>

<p>editBarItemButton links to a UIBarButtonItem which original status are</p>

<p>style:UIBarButtonItemStyleBordered
title:Edit</p>

<p>if I press the bar item button, it will execute the codes below:</p>

<pre><code>[editBarItemButton setStyle: UIBarButtonItemStyleDone];
[editTarBarItemButton setTitle:@"Done"  ];
</code></pre>

<p>but neither the style nor title has changed.</p>

<p>Welcome any comment</p>

<p>Thanks
interdev</p>
