Currently I\'m working on a multi-language application and I want to change the Cancel
,Use
and Retake
button titles of the UIIm
Assign delegate as self to your imagepicker controller and add the following code :
- (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated {
UINavigationItem *ipcNavBarTopItem;
// add done button to right side of nav bar
UIBarButtonItem *doneButton = [[UIBarButtonItem alloc] initWithTitle:@\"Done\"
style:UIBarButtonItemStylePlain
target:self
action:@selector(saveImages:)];
UINavigationBar *bar = navigationController.navigationBar;
[bar setHidden:NO];
ipcNavBarTopItem = bar.topItem;
ipcNavBarTopItem.title = @\"Pick Images\";
ipcNavBarTopItem.rightBarButtonItem = doneButton;
}