mirror of
https://github.com/zhigang1992/RETableViewManager.git
synced 2026-04-28 12:45:34 +08:00
Merge pull request #158 from jhogervorst/system-done-item
"Done" text button replaced by system done button
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user