This is probably a very simple question, but I'm working with dashcode and can't figure out where to put this code to change the text of the back button.
self.navigationItem.backBarButtonItem =
[[[UIBarButtonItem alloc] initWithTitle:@"Back"
style: UIBarButtonItemStyleBordered
target:nil
action:nil] autorelease];
Dashcode is the development tool that Apple has provided for web based development (Javascript/HTML/CSS).
The code you have pasted is Objective-C code which is used in native development with XCode.
So, either you have the wrong tool, or are using the wrong language. HTH.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.