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:
parent
bd4344a0bd
commit
751143724a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user