Explorar o código

1.修改iOS Apex Mobile部分视图在iPhone X显示不正确。

Pen Li %!s(int64=8) %!d(string=hai) anos
pai
achega
daaf7ad386

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 33 - 2
Apex Mobile/Apex Mobile/LocationViewController.m


+ 24 - 12
Apex Mobile/Apex Mobile/Main.storyboard

@@ -1397,9 +1397,8 @@
                         <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                         <subviews>
-                            <tableView clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" restorationIdentifier="field" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" allowsSelectionDuringEditing="YES" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" translatesAutoresizingMaskIntoConstraints="NO" id="iXC-3g-FEF">
-                                <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
-                                <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                            <tableView clipsSubviews="YES" contentMode="scaleToFill" restorationIdentifier="field" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" allowsSelectionDuringEditing="YES" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" translatesAutoresizingMaskIntoConstraints="NO" id="iXC-3g-FEF">
+                                <rect key="frame" x="0.0" y="20" width="375" height="647"/>
                                 <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                 <prototypes>
                                     <tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="field" textLabel="4Dk-AL-yOW" style="IBUITableViewCellStyleDefault" id="RIX-gb-GVS">
@@ -1428,6 +1427,12 @@
                             </tableView>
                         </subviews>
                         <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                        <constraints>
+                            <constraint firstItem="iXC-3g-FEF" firstAttribute="top" secondItem="ox5-0M-NBd" secondAttribute="bottom" id="47D-Qo-2Uk"/>
+                            <constraint firstItem="Ywt-1O-7AV" firstAttribute="top" secondItem="iXC-3g-FEF" secondAttribute="bottom" id="efA-fS-KI8"/>
+                            <constraint firstItem="iXC-3g-FEF" firstAttribute="leading" secondItem="VfZ-Dv-e9a" secondAttribute="leading" id="hiN-n6-krx"/>
+                            <constraint firstAttribute="trailing" secondItem="iXC-3g-FEF" secondAttribute="trailing" id="yhE-Cb-mRR"/>
+                        </constraints>
                     </view>
                     <navigationItem key="navigationItem" id="FRT-OA-rqr">
                         <barButtonItem key="rightBarButtonItem" title="Save" id="wQJ-IE-abv">
@@ -1586,24 +1591,21 @@
                         <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                         <subviews>
-                            <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" animating="YES" style="whiteLarge" translatesAutoresizingMaskIntoConstraints="NO" id="Cs2-5V-Ius">
-                                <rect key="frame" x="142" y="265" width="37" height="37"/>
-                                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                            <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" animating="YES" style="whiteLarge" translatesAutoresizingMaskIntoConstraints="NO" id="Cs2-5V-Ius">
+                                <rect key="frame" x="169" y="315" width="37" height="37"/>
                                 <inset key="insetFor6xAndEarlier" minX="0.0" minY="64" maxX="0.0" maxY="-64"/>
                                 <color key="color" red="0.40000000600000002" green="0.80000001190000003" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                             </activityIndicatorView>
-                            <label hidden="YES" opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="No record in this page" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AKO-ni-aUG">
-                                <rect key="frame" x="0.0" y="64" width="375" height="21"/>
-                                <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
+                            <label hidden="YES" opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="No record in this page" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AKO-ni-aUG">
+                                <rect key="frame" x="103" y="20" width="169" height="21"/>
                                 <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                                 <inset key="insetFor6xAndEarlier" minX="0.0" minY="64" maxX="0.0" maxY="-64"/>
                                 <fontDescription key="fontDescription" type="system" pointSize="17"/>
                                 <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                 <nil key="highlightedColor"/>
                             </label>
-                            <tableView clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" allowsSelection="NO" rowHeight="-1" sectionHeaderHeight="-1" sectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="mia-XC-A8d">
-                                <rect key="frame" x="0.0" y="64" width="375" height="559"/>
-                                <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                            <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" allowsSelection="NO" rowHeight="-1" sectionHeaderHeight="-1" sectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="mia-XC-A8d">
+                                <rect key="frame" x="0.0" y="20" width="375" height="647"/>
                                 <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
                                 <inset key="insetFor6xAndEarlier" minX="0.0" minY="64" maxX="0.0" maxY="44"/>
                                 <inset key="separatorInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
@@ -1745,6 +1747,16 @@
                             </tableView>
                         </subviews>
                         <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                        <constraints>
+                            <constraint firstAttribute="trailing" secondItem="mia-XC-A8d" secondAttribute="trailing" id="2TB-C6-6NT"/>
+                            <constraint firstItem="Cs2-5V-Ius" firstAttribute="centerX" secondItem="Sml-Qx-H9e" secondAttribute="centerX" id="9Ve-qG-fYL"/>
+                            <constraint firstItem="AKO-ni-aUG" firstAttribute="centerX" secondItem="Sml-Qx-H9e" secondAttribute="centerX" id="QUs-dy-CCo"/>
+                            <constraint firstItem="mia-XC-A8d" firstAttribute="top" secondItem="gd4-2b-xmy" secondAttribute="bottom" id="Th9-Re-up1"/>
+                            <constraint firstItem="WfC-yf-L95" firstAttribute="top" secondItem="mia-XC-A8d" secondAttribute="bottom" id="VgT-0V-bY6"/>
+                            <constraint firstItem="AKO-ni-aUG" firstAttribute="top" secondItem="gd4-2b-xmy" secondAttribute="bottom" id="ZdO-C0-uZy"/>
+                            <constraint firstItem="Cs2-5V-Ius" firstAttribute="centerY" secondItem="Sml-Qx-H9e" secondAttribute="centerY" id="b7w-Ch-uZo"/>
+                            <constraint firstItem="mia-XC-A8d" firstAttribute="leading" secondItem="Sml-Qx-H9e" secondAttribute="leading" id="eJt-O9-kzA"/>
+                        </constraints>
                     </view>
                     <connections>
                         <outlet property="mum" destination="Cs2-5V-Ius" id="vFR-HN-dsS"/>

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio