I can\'t seem to add an image to this UIBarButtonItem without it crashing when touched:
UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithTitle:@\"
You have to set the buttonStyle to custom not a UIBarButtonItemStylePlain
custom
UIBarButtonItemStylePlain
and then [barbuttonitem setCustomView:anImageView];
[barbuttonitem setCustomView:anImageView];