I am used to programming in the previous versions of iOS, and new to iOS 5 and ARC.
I have the following piece of code:
UIBarButtonItem *backbutton = [[UIBarButtonItem alloc] initWithTitle:@"Bill"
style:UIBarButtonItemStyleBordered
target:nil
action:nil];
self.navigationItem.backBarButtonItem = backbutton;
In previous iOS versions I would have to explicitly release the back button. In iOS 5 I'm wondering how this is done. This piece of code is in the "viewDidLoad" method of a view controller.