Hi i'm displaying UIBarButton on Navigation bar as back button,how can i've the default back button style for the UIButton.
Regards Sam.
In the parent view controller when pushing the view in didselectrowInIndex method just use the following cod:
self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Back" style:UIBarButtonItemStyleBordered target:self action:nil];
[self.navigationItem.backBarButtonItem release];
Creating a left-arrow button (like UINavigationBar's "back" style) on a UIToolbar
What you are looking for can be done by making a custom UIButton