diff --git a/Example/EditorDemo/WPViewController.m b/Example/EditorDemo/WPViewController.m index d871144..154d9e2 100644 --- a/Example/EditorDemo/WPViewController.m +++ b/Example/EditorDemo/WPViewController.m @@ -30,6 +30,7 @@ - (void)viewDidLoad action:@selector(editTouchedUpInside)]; self.mediaAdded = [NSMutableDictionary dictionary]; self.videoPressCache = [[NSCache alloc] init]; + self.editing = NO; } - (void)customizeAppearance @@ -60,8 +61,10 @@ - (void)editTouchedUpInside { if (self.isEditing) { [self stopEditing]; + self.navigationItem.leftBarButtonItem.title = @"Edit"; } else { [self startEditing]; + self.navigationItem.leftBarButtonItem.title = @"Save"; } }