Преглед изворни кода

fix(JitsiMeetView): fix rotation on iOS

The root view was not adjusting it's bounds after device rotation.
master
paweldomas пре 8 година
родитељ
комит
cbd2bb0140
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3
    0
      ios/sdk/src/JitsiMeetView.m

+ 3
- 0
ios/sdk/src/JitsiMeetView.m Прегледај датотеку

296
 
296
 
297
         // Add rootView as a subview which completely covers this one.
297
         // Add rootView as a subview which completely covers this one.
298
         [rootView setFrame:[self bounds]];
298
         [rootView setFrame:[self bounds]];
299
+        rootView.autoresizingMask
300
+            = UIViewAutoresizingFlexibleWidth
301
+                | UIViewAutoresizingFlexibleHeight;
299
         [self addSubview:rootView];
302
         [self addSubview:rootView];
300
     }
303
     }
301
 }
304
 }

Loading…
Откажи
Сачувај