Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Implementing UIViewController:willAnimateRotationToInterfaceOrientati…

…on:duration:

method.

Does nothing, for compatibility matters.
  • Loading branch information...
commit dcfa355d84f18dc88da1ffb20c3f270fd10f9bd9 1 parent 3c7915b
Paulo Oliveira authored jallum committed
View
2  UIKit/Classes/UIViewController.h
@@ -83,6 +83,8 @@ typedef enum {
- (void)didMoveToParentViewController:(UIViewController *)parent;
- (void)transitionFromViewController:(UIViewController *)fromViewController toViewController:(UIViewController *)toViewController duration:(NSTimeInterval)duration options:(UIViewAnimationOptions)options animations:(void (^)(void))animations completion:(void (^)(BOOL finished))completion;
+- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration;
+
- (UIView *)rotatingHeaderView;
- (UIView *)rotatingFooterView;
View
5 UIKit/Classes/UIViewController.m
@@ -352,6 +352,11 @@ - (void)transitionFromViewController:(UIViewController *)fromViewController toVi
];
}
+- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
+ duration:(NSTimeInterval)duration
+{
+}
+
- (id)_nearestParentViewControllerThatIsKindOf:(Class)c
{
UIViewController *controller = _parentViewController;
Please sign in to comment.
Something went wrong with that request. Please try again.