1

I'm using iPhone SDK 3.1.3 and I tried look like that

self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Back" style:UIBarButtonItemStylePlain target:nil action:nil];

It's not working and nothing effect. So, I tired

self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Back" style:UIBarButtonItemStylePlain target:nil action:nil];

button text it change and stye it squre. I click it and it's not go to back.

I want to change back button to text @"Back". How to write it ?

I also read in there but not work for me.

Community
  • 1
  • 1
saturngod
  • 24,649
  • 17
  • 62
  • 87

1 Answers1

0

I got it. I change in title and it's OK

self.navigationItem.title =@"Back"; 
[self.navigationController pushViewController:browser animated:YES];
saturngod
  • 24,649
  • 17
  • 62
  • 87