uikit: Call base class implementation of rotation callbacks

The Apple documentation explicitly says that you should call super
when implementing these methods.

Change-Id: I584bb140a4a5bde88927b379ab19158a78c6fea9
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
This commit is contained in:
Tor Arne Vestbø 2016-06-01 13:29:19 +02:00 committed by Tor Arne Vestbø
parent bd4344a0bd
commit 751143724a

View File

@ -324,17 +324,16 @@
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)orientation duration:(NSTimeInterval)duration
{
Q_UNUSED(orientation);
Q_UNUSED(duration);
self.changingOrientation = YES;
[super willRotateToInterfaceOrientation:orientation duration:duration];
}
- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)orientation
{
Q_UNUSED(orientation);
self.changingOrientation = NO;
[super didRotateFromInterfaceOrientation:orientation];
}
- (void)willChangeStatusBarFrame:(NSNotification*)notification