Răsfoiți Sursa

1.修改iOS Apex Mobile Communication。

Pen Li 8 ani în urmă
părinte
comite
3dfe94257e

+ 6 - 15
Apex Mobile/Apex Mobile/AMCommHeadCell.xib

@@ -12,11 +12,11 @@
     <objects>
         <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
         <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="133" id="KGk-i7-Jjw" customClass="AMCommHeadCell">
-            <rect key="frame" x="0.0" y="0.0" width="494" height="133"/>
+        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="118" id="KGk-i7-Jjw" customClass="AMCommHeadCell">
+            <rect key="frame" x="0.0" y="0.0" width="494" height="118"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
             <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
-                <rect key="frame" x="0.0" y="0.0" width="494" height="132.5"/>
+                <rect key="frame" x="0.0" y="0.0" width="494" height="117.5"/>
                 <autoresizingMask key="autoresizingMask"/>
                 <subviews>
                     <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Communication To Apex:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JZ4-Du-7ye">
@@ -31,8 +31,8 @@
                         <color key="textColor" red="1" green="0.1047433005" blue="0.075207091899999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                         <nil key="highlightedColor"/>
                     </label>
-                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="CC:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u0A-UO-7aF">
-                        <rect key="frame" x="5" y="53" width="484" height="21"/>
+                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="CC(separated by ;) :" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u0A-UO-7aF">
+                        <rect key="frame" x="5" y="53" width="154" height="21"/>
                         <fontDescription key="fontDescription" type="system" pointSize="17"/>
                         <color key="textColor" red="1" green="0.1047433005" blue="0.075207091899999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                         <nil key="highlightedColor"/>
@@ -43,27 +43,18 @@
                         <fontDescription key="fontDescription" type="system" pointSize="14"/>
                         <textInputTraits key="textInputTraits" autocorrectionType="no"/>
                     </textField>
-                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="separated by ;" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zx3-At-l7K">
-                        <rect key="frame" x="408" y="114" width="81" height="14.5"/>
-                        <fontDescription key="fontDescription" type="system" pointSize="12"/>
-                        <color key="textColor" red="1" green="0.1047433005" blue="0.075207091899999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <nil key="highlightedColor"/>
-                    </label>
                 </subviews>
                 <constraints>
-                    <constraint firstItem="Zx3-At-l7K" firstAttribute="trailing" secondItem="uaj-Fd-5wB" secondAttribute="trailing" id="60M-N5-OeH"/>
                     <constraint firstAttribute="trailing" secondItem="JZ4-Du-7ye" secondAttribute="trailing" constant="5" id="87t-u6-ljD"/>
                     <constraint firstItem="QEM-Mn-Lhw" firstAttribute="top" secondItem="JZ4-Du-7ye" secondAttribute="bottom" constant="5" id="GyR-yk-mEt"/>
                     <constraint firstItem="QEM-Mn-Lhw" firstAttribute="trailing" secondItem="JZ4-Du-7ye" secondAttribute="trailing" id="JVB-pj-Jhx"/>
-                    <constraint firstItem="u0A-UO-7aF" firstAttribute="trailing" secondItem="QEM-Mn-Lhw" secondAttribute="trailing" id="Lg1-fh-HWj"/>
                     <constraint firstItem="u0A-UO-7aF" firstAttribute="top" secondItem="QEM-Mn-Lhw" secondAttribute="bottom" constant="5" id="NSM-aT-LAB"/>
                     <constraint firstItem="JZ4-Du-7ye" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="5" id="QtD-kg-jaO"/>
                     <constraint firstItem="QEM-Mn-Lhw" firstAttribute="leading" secondItem="JZ4-Du-7ye" secondAttribute="leading" id="Shv-Z5-Ada"/>
+                    <constraint firstItem="uaj-Fd-5wB" firstAttribute="trailing" secondItem="QEM-Mn-Lhw" secondAttribute="trailing" id="TjZ-vc-sU7"/>
                     <constraint firstItem="uaj-Fd-5wB" firstAttribute="top" secondItem="u0A-UO-7aF" secondAttribute="bottom" constant="5" id="cO0-Cz-GRf"/>
                     <constraint firstItem="JZ4-Du-7ye" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="5" id="crH-SX-NVh"/>
                     <constraint firstItem="u0A-UO-7aF" firstAttribute="leading" secondItem="QEM-Mn-Lhw" secondAttribute="leading" id="fyJ-nk-7OF"/>
-                    <constraint firstItem="uaj-Fd-5wB" firstAttribute="trailing" secondItem="u0A-UO-7aF" secondAttribute="trailing" id="kmv-8k-Qxi"/>
-                    <constraint firstItem="Zx3-At-l7K" firstAttribute="top" secondItem="uaj-Fd-5wB" secondAttribute="bottom" constant="5" id="oHl-EE-Hix"/>
                     <constraint firstItem="uaj-Fd-5wB" firstAttribute="leading" secondItem="u0A-UO-7aF" secondAttribute="leading" id="whN-AW-rA8"/>
                 </constraints>
             </tableViewCellContentView>

+ 1 - 1
Apex Mobile/Apex Mobile/DetailPageViewController.m

@@ -793,7 +793,7 @@
     else if ([type isEqualToString:@"communication"]) {
         NSInteger rowCount = [self tableView:tableView numberOfRowsInSection:indexPath.section];
         if (indexPath.row == 0) {
-            return 133.0f;
+            return 118.0f;
         } else if (indexPath.row == rowCount - 1) {
             
             NSMutableDictionary* segment = [self.content.segments[indexPath.section] mutableCopy];