I'm using iPhone SDK 3.1.3 and I tried look like that
我正在使用iPhone SDK 3.1.3,我试过看起来像那样
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.
按钮文本它改变和stye it squre。我点击它,它不会再回来了。
I want to change back button to text @"Back". How to write it ?
我想将后退按钮更改为文本@“后退”。怎么写呢?
I also read in there but not work for me.
我也在那里读书,但不适合我。
1 个解决方案
#1
0
I got it. I change in title and it's OK
我知道了。我改变了标题,没关系
self.navigationItem.title =@"Back";
[self.navigationController pushViewController:browser animated:YES];
#1
0
I got it. I change in title and it's OK
我知道了。我改变了标题,没关系
self.navigationItem.title =@"Back";
[self.navigationController pushViewController:browser animated:YES];