fix(JitsiMeetView): fix rotation on iOS

The root view was not adjusting it's bounds after device rotation.
pull/2105/head
paweldomas 8 years ago committed by Saúl Ibarra Corretgé
parent 3f6f5e7eb9
commit cbd2bb0140
  1. 3
      ios/sdk/src/JitsiMeetView.m

@ -296,6 +296,9 @@ static NSMapTable<NSString *, JitsiMeetView *> *views;
// Add rootView as a subview which completely covers this one.
[rootView setFrame:[self bounds]];
rootView.autoresizingMask
= UIViewAutoresizingFlexibleWidth
| UIViewAutoresizingFlexibleHeight;
[self addSubview:rootView];
}
}

Loading…
Cancel
Save