We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a88918f commit dc3f349Copy full SHA for dc3f349
1 file changed
MessageDisplayKit/Classes/Controllers/XHMessageTableViewController/XHMessageTableViewController.m
@@ -707,8 +707,13 @@ - (BOOL)shouldAutorotate {
707
return NO;
708
}
709
710
-- (NSUInteger)supportedInterfaceOrientations {
711
- return (NSUInteger)UIInterfaceOrientationMaskPortrait;
+#if __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_9_0
+- (NSUInteger)supportedInterfaceOrientations
712
+#else
713
+- (UIInterfaceOrientationMask)supportedInterfaceOrientations
714
+#endif
715
+{
716
+ return UIInterfaceOrientationMaskPortrait;
717
718
719
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
0 commit comments