diff options
author | siqi <me@siqi.fr> | 2013-07-09 11:30:54 +0200 |
---|---|---|
committer | siqi <me@siqi.fr> | 2013-07-10 10:48:00 +0200 |
commit | 509eee150a1cf0f87deb21ec9e321f849388f7a4 (patch) | |
tree | 066fd58c8a9c11b970dae1224ebc5a364453dcda /ios | |
parent | 6c9db5b3cb4ee900a5d91554efa3835ca8b973c7 (diff) |
slideshow control pad fix
Change-Id: If497c595ba2ac55058aed825c51815222fe989f1
Diffstat (limited to 'ios')
-rw-r--r-- | ios/iosremote/iosremote/slideShowSwipeInList.m | 1 | ||||
-rw-r--r-- | ios/iosremote/iosremote/slideShow_vc.m | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ios/iosremote/iosremote/slideShowSwipeInList.m b/ios/iosremote/iosremote/slideShowSwipeInList.m index 55ebdb904fdb..353fc0721cf4 100644 --- a/ios/iosremote/iosremote/slideShowSwipeInList.m +++ b/ios/iosremote/iosremote/slideShowSwipeInList.m @@ -12,6 +12,7 @@ #import "SlideShow.h" #import "CommandTransmitter.h" #import "SWRevealViewController.h" +#import <QuartzCore/CALayer.h> #define TIMER_STATE_RUNNING 0 #define TIMER_STATE_PAUSED 1 diff --git a/ios/iosremote/iosremote/slideShow_vc.m b/ios/iosremote/iosremote/slideShow_vc.m index e01c3d731b40..efb28033cb71 100644 --- a/ios/iosremote/iosremote/slideShow_vc.m +++ b/ios/iosremote/iosremote/slideShow_vc.m @@ -66,10 +66,11 @@ [self.slideNumber setText:[NSString stringWithFormat:@"%u/%u", [self.slideshow currentSlide]+1, [self.slideshow size]]]; - UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithTitle:@"End" + UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithTitle:@"Stop Presentation" style:UIBarButtonItemStyleBordered target:self action:@selector(handleBack:)]; + [backButton setTintColor:[UIColor redColor]]; self.revealViewController.navigationItem.leftBarButtonItem = backButton; self.revealButtonItem = [[UIBarButtonItem alloc] initWithImage: [UIImage imageNamed:@"more_icon.png"] |