views:

15

answers:

0

alt text

according to my picture the upper picture is an original create automatically when navigation controller is push

if i try to create like this one it will appear like bottom picture.

how can i programmatic to create Back Button like upper picture?

here is my code to create Done button

self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(backtohome)];