Commit f526c86b authored by Felix Paul Kühne's avatar Felix Paul Kühne

playback: minor audio playback appearance fix

parent ba791f53
......@@ -1330,6 +1330,15 @@
|| toInterfaceOrientation != UIInterfaceOrientationPortraitUpsideDown;
}
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
[super willRotateToInterfaceOrientation:toInterfaceOrientation duration:duration];
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
if (self.artworkImageView.image)
self.trackNameLabel.hidden = UIInterfaceOrientationIsLandscape(toInterfaceOrientation);
}
}
#pragma mark - AVSession delegate
- (void)beginInterruption
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment