From cbd2bb0140f4322da9f3050be5cebe1fbd2d082b Mon Sep 17 00:00:00 2001 From: paweldomas Date: Wed, 1 Nov 2017 15:52:00 -0500 Subject: [PATCH] fix(JitsiMeetView): fix rotation on iOS The root view was not adjusting it's bounds after device rotation. --- ios/sdk/src/JitsiMeetView.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ios/sdk/src/JitsiMeetView.m b/ios/sdk/src/JitsiMeetView.m index b40f34819..091fb324c 100644 --- a/ios/sdk/src/JitsiMeetView.m +++ b/ios/sdk/src/JitsiMeetView.m @@ -296,6 +296,9 @@ static NSMapTable *views; // Add rootView as a subview which completely covers this one. [rootView setFrame:[self bounds]]; + rootView.autoresizingMask + = UIViewAutoresizingFlexibleWidth + | UIViewAutoresizingFlexibleHeight; [self addSubview:rootView]; } }