MPNotificationView
MPNotificationView copied to clipboard
Wrong rotation on restricted rotation

I got this weird rotation restricting the supported interface orientations for just Portrait.
Any idea why is it happening?
We also noticed that notification view does not always behave as expected when the orientation is restricted. I'll look into that in the next days. Thanks for your report.
I'm investigating and we could use the UIApplicationWillChangeStatusBarOrientationNotification and get the next orientation using the userInfo of the notification:
IInterfaceOrientation orientation = [[notification.userInfo valueForKey:UIApplicationStatusBarOrientationUserInfoKey] integerValue];
And then using it to rotate.