Skip to content

Commit 688603e

Browse files
author
Joey Lorich
committed
Fix drag gesture on menu, update production config
1 parent c4c6761 commit 688603e

3 files changed

Lines changed: 26 additions & 13 deletions

File tree

EasyReader/Application/AppDelegates/EZRAppDelegate.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,12 @@ - (void)setUpApplicationWindow
8181
leftMenuViewController:leftMenuViewController
8282
rightMenuViewController:nil];
8383

84+
8485
[container.shadow setEnabled:YES];
8586
[container.shadow setRadius:5.0f];
8687
[container.shadow setOpacity:0.75f];
8788
[container setMenuSlideAnimationFactor:3.0f];
89+
8890
self.window.rootViewController = container;
8991
[self.window makeKeyAndVisible];
9092

EasyReader/Application/Controllers/EZRRootViewController.m

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@
1515

1616
//#import "UIViewController+NibLoader.h"
1717

18-
@interface EZRRootViewController ()
18+
19+
@interface MFSideMenuContainerViewController ()
20+
21+
@property (nonatomic, strong) UIView *menuContainerView;
1922

2023
@end
2124

25+
2226
@implementation EZRRootViewController
2327

2428
/**
@@ -40,6 +44,21 @@ - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
4044
return self;
4145
}
4246

47+
- (void)viewDidAppear:(BOOL)animated
48+
{
49+
[super viewDidAppear:animated];
50+
51+
MFSideMenuContainerViewController *container = (MFSideMenuContainerViewController *)[[[[UIApplication sharedApplication] delegate] window] rootViewController];
52+
// container.menuContainerView.gestureRecognizers
53+
54+
55+
for (UIGestureRecognizer *recognizer in container.menuContainerView.gestureRecognizers) {
56+
[recognizer setEnabled:NO];
57+
// [container.menuContainerView removeGestureRecognizer:recognizer];
58+
}
59+
60+
}
61+
4362
/**
4463
* If the left menu is open, it closes it
4564
* Otherwise it opens to the left menu

EasyReader/Supporting Files/Production-Info.plist

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>ApiHost</key>
6+
<string>http://rss.cloudspace.com</string>
7+
<key>ApiBasePath</key>
8+
<string>/v2</string>
59
<key>CFBundleDevelopmentRegion</key>
610
<string>en</string>
711
<key>CFBundleDisplayName</key>
@@ -37,18 +41,10 @@
3741
</array>
3842
<key>CFBundleVersion</key>
3943
<string>2.0.18</string>
40-
<key>FacebookAppID</key>
41-
<string>456979891044426</string>
42-
<key>GoogleMapsAPIKey</key>
43-
<string>AIzaSyA1AmUkZi_HgBXIR-QBC1cKKhZngTrC5Uc</string>
4444
<key>LSApplicationCategoryType</key>
4545
<string></string>
4646
<key>LSRequiresIPhoneOS</key>
4747
<true/>
48-
<key>TwitterConsumerKey</key>
49-
<string>ieiL4qQcVx97nOR9G8X7g</string>
50-
<key>TwitterConsumerSecret</key>
51-
<string>nvsH4EVwFtoYNI9IxV2Csc9yWicDYZsu6kRObGB2SA</string>
5248
<key>UIPrerenderedIcon</key>
5349
<true/>
5450
<key>UIRequiredDeviceCapabilities</key>
@@ -69,9 +65,5 @@
6965
</array>
7066
<key>UIViewControllerBasedStatusBarAppearance</key>
7167
<false/>
72-
<key>apiBasePath</key>
73-
<string>/v2</string>
74-
<key>apiHost</key>
75-
<string>http://rss.cloudspace.com</string>
7668
</dict>
7769
</plist>

0 commit comments

Comments
 (0)