diff --git a/Classes/ShareKit/UI/SHKActivityIndicator.m b/Classes/ShareKit/UI/SHKActivityIndicator.m index 3ffd25340..58e083d2f 100644 --- a/Classes/ShareKit/UI/SHKActivityIndicator.m +++ b/Classes/ShareKit/UI/SHKActivityIndicator.m @@ -408,7 +408,9 @@ - (void)setProperRotation - (void)setProperRotation:(BOOL)animated { - UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation]; + + if ((BOOL)([[UIDevice currentDevice].systemVersion floatValue] < 8.0)) { + UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation]; if (animated) { @@ -430,6 +432,7 @@ - (void)setProperRotation:(BOOL)animated if (animated) [UIView commitAnimations]; + } } @end