mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-24 06:53:46 +00:00
[ios] Switching to iOS 15 as the minimum
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
35cda6d342
commit
78b54acad4
@@ -222,19 +222,6 @@
|
||||
view.frame = window.bounds;
|
||||
}
|
||||
|
||||
- (void)setAlertController:(MWMAlertViewController *)alertController {
|
||||
_alertController = alertController;
|
||||
UIView *view = alertController.view;
|
||||
UIViewController *ownerViewController = alertController.ownerViewController;
|
||||
view.frame = ownerViewController.view.bounds;
|
||||
[ownerViewController.view addSubview:view];
|
||||
[self addControllerViewToWindow];
|
||||
auto const orientation = UIApplication.sharedApplication.statusBarOrientation;
|
||||
[self rotate:orientation duration:0.0];
|
||||
[view addSubview:self];
|
||||
self.frame = view.bounds;
|
||||
}
|
||||
|
||||
- (void)layoutSubviews {
|
||||
[super layoutSubviews];
|
||||
self.frame = self.superview.bounds;
|
||||
|
||||
Reference in New Issue
Block a user