summaryrefslogtreecommitdiff
path: root/ios/iosremote/iosremote/slideShowSwipeInList_iphone.m
diff options
context:
space:
mode:
authorSiqi LIU <me@siqi.fr>2013-09-08 13:33:42 +0200
committerSiqi LIU <me@siqi.fr>2013-09-08 13:33:53 +0200
commit7c7d898b6e8f09f066817399214e51f454ff7982 (patch)
tree7769355f2f0562d91842a7e7f4ce3bb8989d84dc /ios/iosremote/iosremote/slideShowSwipeInList_iphone.m
parenta9ad0c3d4a4cfa70ba89d8fb366a782f58f44f07 (diff)
disable pangesture recognizer when pointer image is displayed
Change-Id: Iea5895b98a05faee0772569665c980eac716927b
Diffstat (limited to 'ios/iosremote/iosremote/slideShowSwipeInList_iphone.m')
-rw-r--r--ios/iosremote/iosremote/slideShowSwipeInList_iphone.m8
1 files changed, 6 insertions, 2 deletions
diff --git a/ios/iosremote/iosremote/slideShowSwipeInList_iphone.m b/ios/iosremote/iosremote/slideShowSwipeInList_iphone.m
index 01fbb9ccb113..ff65812653ca 100644
--- a/ios/iosremote/iosremote/slideShowSwipeInList_iphone.m
+++ b/ios/iosremote/iosremote/slideShowSwipeInList_iphone.m
@@ -169,8 +169,12 @@ dispatch_queue_t backgroundQueue;
UIPageControl * pageControl = [[UIPageControl alloc] initWithFrame:CGRectMake(self.revealViewController.rearViewRevealWidth - 20, view.frame.origin.y + 3, 40, 20)];
pageControl.numberOfPages = 2;
pageControl.currentPage = self.currentPage;
- pageControl.currentPageIndicatorTintColor = [UIColor whiteColor];
- pageControl.pageIndicatorTintColor = [UIColor lightGrayColor];
+
+ if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 6.0)
+ {
+ pageControl.currentPageIndicatorTintColor = [UIColor whiteColor];
+ pageControl.pageIndicatorTintColor = [UIColor colorWithRed:1.0 green:1.0 blue:1.0 alpha:0.7];
+ }
pageControl.tag = -100;
view.tag = -99;
label.tag = -98;