fix(JitsiMeetView): fix rotation on iOS
The root view was not adjusting it's bounds after device rotation.
This commit is contained in:
parent
3f6f5e7eb9
commit
cbd2bb0140
|
@ -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…
Reference in New Issue