forked from organicmaps/organicmaps
[iOS] Remove autoresizing in bottom menu
https://jira.mail.ru/browse/MAPSME-13173
This commit is contained in:
parent
88b0d021ea
commit
91cac68f57
2 changed files with 3 additions and 5 deletions
|
@ -75,10 +75,6 @@ typedef NS_ENUM(NSUInteger, MWMBottomMenuViewCell) {
|
|||
_mapViewController = controller;
|
||||
_delegate = delegate;
|
||||
[controller addChildViewController:self];
|
||||
self.view.autoresizingMask = (UIViewAutoresizingFlexibleWidth |
|
||||
UIViewAutoresizingFlexibleTopMargin |
|
||||
UIViewAutoresizingFlexibleBottomMargin |
|
||||
UIViewAutoresizingFlexibleHeight);
|
||||
[controller.controlsView addSubview:self.view];
|
||||
[controller.view layoutIfNeeded];
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||
<device id="retina6_1" orientation="portrait" appearance="light"/>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
|
@ -22,7 +24,7 @@
|
|||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="zuH-WU-hiP" customClass="MWMBottomMenuView" propertyAccessControl="none">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="197"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4Uc-SH-J1o">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="261"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue