diff --git a/FlipDemo.xcodeproj/project.xcworkspace/xcshareddata/FlipDemo.xccheckout b/FlipDemo.xcodeproj/project.xcworkspace/xcshareddata/FlipDemo.xccheckout
index f8da9e8..70ea3f0 100644
--- a/FlipDemo.xcodeproj/project.xcworkspace/xcshareddata/FlipDemo.xccheckout
+++ b/FlipDemo.xcodeproj/project.xcworkspace/xcshareddata/FlipDemo.xccheckout
@@ -10,31 +10,31 @@
FlipDemo
IDESourceControlProjectOriginsDictionary
- D40DE4B2-941A-4193-B889-271003578012
- https://github.com/mrcrow/MRFlipTransition.git
+ 09FAB217D751F16B079172168E1B8C7F81AEF02D
+ https://github.com/auto234875/MRFlipTransition.git
IDESourceControlProjectPath
- FlipDemo.xcodeproj/project.xcworkspace
+ FlipDemo.xcodeproj
IDESourceControlProjectRelativeInstallPathDictionary
- D40DE4B2-941A-4193-B889-271003578012
+ 09FAB217D751F16B079172168E1B8C7F81AEF02D
../..
IDESourceControlProjectURL
- https://github.com/mrcrow/MRFlipTransition.git
+ https://github.com/auto234875/MRFlipTransition.git
IDESourceControlProjectVersion
- 110
+ 111
IDESourceControlProjectWCCIdentifier
- D40DE4B2-941A-4193-B889-271003578012
+ 09FAB217D751F16B079172168E1B8C7F81AEF02D
IDESourceControlProjectWCConfigurations
IDESourceControlRepositoryExtensionIdentifierKey
public.vcs.git
IDESourceControlWCCIdentifierKey
- D40DE4B2-941A-4193-B889-271003578012
+ 09FAB217D751F16B079172168E1B8C7F81AEF02D
IDESourceControlWCCName
- FlipDemo
+ MRFlipTransition
diff --git a/FlipDemo.xcodeproj/project.xcworkspace/xcuserdata/John.xcuserdatad/UserInterfaceState.xcuserstate b/FlipDemo.xcodeproj/project.xcworkspace/xcuserdata/John.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 0000000..d63de47
Binary files /dev/null and b/FlipDemo.xcodeproj/project.xcworkspace/xcuserdata/John.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/FlipDemo.xcodeproj/xcuserdata/John.xcuserdatad/xcschemes/FlipDemo.xcscheme b/FlipDemo.xcodeproj/xcuserdata/John.xcuserdatad/xcschemes/FlipDemo.xcscheme
new file mode 100644
index 0000000..1bfa317
--- /dev/null
+++ b/FlipDemo.xcodeproj/xcuserdata/John.xcuserdatad/xcschemes/FlipDemo.xcscheme
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/FlipDemo.xcodeproj/xcuserdata/John.xcuserdatad/xcschemes/xcschememanagement.plist b/FlipDemo.xcodeproj/xcuserdata/John.xcuserdatad/xcschemes/xcschememanagement.plist
new file mode 100644
index 0000000..cb8ce2e
--- /dev/null
+++ b/FlipDemo.xcodeproj/xcuserdata/John.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,27 @@
+
+
+
+
+ SchemeUserState
+
+ FlipDemo.xcscheme
+
+ orderHint
+ 0
+
+
+ SuppressBuildableAutocreation
+
+ C165A2D619715D7D008C5A18
+
+ primary
+
+
+ C165A2F719715D7D008C5A18
+
+ primary
+
+
+
+
+
diff --git a/FlipDemo/AnotherViewController.m b/FlipDemo/AnotherViewController.m
index afb6b01..1e7a2ff 100644
--- a/FlipDemo/AnotherViewController.m
+++ b/FlipDemo/AnotherViewController.m
@@ -18,13 +18,14 @@ @implementation AnotherViewController
- (void)viewDidLoad
{
[super viewDidLoad];
- self.view.backgroundColor = [UIColor grayColor];
+ self.view.backgroundColor = [UIColor blackColor];
+ UIView *dismissView= [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 60)];
+ [self.view addSubview:dismissView];
+ UISwipeGestureRecognizer *dismissGesture= [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(flyAway:)];
+ dismissGesture.direction= UISwipeGestureRecognizerDirectionDown;
+ [dismissView addGestureRecognizer:dismissGesture];
+
- UIButton *launchButton = [[UIButton alloc] initWithFrame:CGRectMake(50, 100, 210, 60)];
- launchButton.backgroundColor = [UIColor blackColor];
- [launchButton setTitle:@"Dismiss" forState:UIControlStateNormal];
- [launchButton addTarget:self action:@selector(flyAway:) forControlEvents:UIControlEventTouchUpInside];
- [self.view addSubview:launchButton];
}
- (void)viewWillAppear:(BOOL)animated
@@ -38,4 +39,5 @@ - (void)flyAway:(id)sender
[(MRFlipTransition *)self.transitioningDelegate dismissTo:MRFlipTransitionPresentingFromBottom completion:nil];
}
+
@end
diff --git a/FlipDemo/AppDelegate.m b/FlipDemo/AppDelegate.m
index 0fcbc77..0ad8906 100644
--- a/FlipDemo/AppDelegate.m
+++ b/FlipDemo/AppDelegate.m
@@ -13,6 +13,7 @@ @implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
+
return YES;
}
@@ -43,4 +44,5 @@ - (void)applicationWillTerminate:(UIApplication *)application
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
+
@end
diff --git a/FlipDemo/FlipDemo-Info.plist b/FlipDemo/FlipDemo-Info.plist
index 7cd96f5..b2124e2 100644
--- a/FlipDemo/FlipDemo-Info.plist
+++ b/FlipDemo/FlipDemo-Info.plist
@@ -2,6 +2,10 @@
+ UIViewControllerBasedStatusBarAppearance
+
+ UIStatusBarHidden
+
CFBundleDevelopmentRegion
en
CFBundleDisplayName