Merge pull request #158 from jhogervorst/system-done-item

"Done" text button replaced by system done button
This commit is contained in:
Roman Efimov
2014-04-06 15:06:14 -07:00

View File

@@ -47,7 +47,7 @@
self.barStyle = UIBarStyleBlackTranslucent;
}
UIBarButtonItem *doneButton = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"Done", @"") style:UIBarButtonItemStyleDone target:self action:@selector(handleActionBarDone:)];
UIBarButtonItem *doneButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(handleActionBarDone:)];
self.navigationControl = [[UISegmentedControl alloc] initWithItems:[NSArray arrayWithObjects:NSLocalizedString(@"Previous", @""), NSLocalizedString(@"Next", @""), nil]];
self.navigationControl.momentary = YES;