Эх сурвалжийг харах

1.修改iOS Apex Drivers Order状态Icon大小。

Pen Li 7 жил өмнө
parent
commit
e1e9607333

+ 16 - 16
Redant Drivers/Apex And Drivers/Home/Home.storyboard

@@ -33,10 +33,10 @@
                                                     <rect key="frame" x="5" y="5" width="365" height="130"/>
                                                     <subviews>
                                                         <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="V2e-NM-tUq">
-                                                            <rect key="frame" x="10" y="52" width="60" height="60"/>
+                                                            <rect key="frame" x="10" y="57" width="50" height="50"/>
                                                             <constraints>
-                                                                <constraint firstAttribute="height" constant="60" id="fW9-0H-jGG"/>
-                                                                <constraint firstAttribute="width" constant="60" id="pcF-Ms-1eF"/>
+                                                                <constraint firstAttribute="height" constant="50" id="fW9-0H-jGG"/>
+                                                                <constraint firstAttribute="width" constant="50" id="pcF-Ms-1eF"/>
                                                             </constraints>
                                                         </imageView>
                                                         <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Pickup Order New" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="y2j-9I-xL6">
@@ -49,16 +49,16 @@
                                                             <nil key="highlightedColor"/>
                                                         </label>
                                                         <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="0oy-zO-2fZ">
-                                                            <rect key="frame" x="75" y="34" width="285" height="96"/>
+                                                            <rect key="frame" x="65" y="34" width="295" height="96"/>
                                                             <subviews>
                                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="5/30/2018" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="89d-EX-Krm">
-                                                                    <rect key="frame" x="40" y="69" width="245" height="17"/>
+                                                                    <rect key="frame" x="40" y="69" width="255" height="17"/>
                                                                     <fontDescription key="fontDescription" type="system" pointSize="14"/>
                                                                     <nil key="textColor"/>
                                                                     <nil key="highlightedColor"/>
                                                                 </label>
                                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="AFS180530001200" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZZd-1e-a8S">
-                                                                    <rect key="frame" x="73" y="0.0" width="212" height="17"/>
+                                                                    <rect key="frame" x="73" y="0.0" width="222" height="17"/>
                                                                     <fontDescription key="fontDescription" type="system" pointSize="14"/>
                                                                     <nil key="textColor"/>
                                                                     <nil key="highlightedColor"/>
@@ -82,7 +82,7 @@
                                                                     <nil key="highlightedColor"/>
                                                                 </label>
                                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Pick Up" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Utf-Vm-dJV">
-                                                                    <rect key="frame" x="81.5" y="44" width="203.5" height="17"/>
+                                                                    <rect key="frame" x="81.5" y="44" width="213.5" height="17"/>
                                                                     <fontDescription key="fontDescription" type="system" pointSize="14"/>
                                                                     <nil key="textColor"/>
                                                                     <nil key="highlightedColor"/>
@@ -97,7 +97,7 @@
                                                                     <nil key="highlightedColor"/>
                                                                 </label>
                                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="TCNU6432476" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ODR-wu-t8u">
-                                                                    <rect key="frame" x="98" y="22" width="187" height="17"/>
+                                                                    <rect key="frame" x="98" y="22" width="197" height="17"/>
                                                                     <fontDescription key="fontDescription" type="system" pointSize="14"/>
                                                                     <nil key="textColor"/>
                                                                     <nil key="highlightedColor"/>
@@ -229,10 +229,10 @@
                                                     <rect key="frame" x="5" y="5" width="365" height="130"/>
                                                     <subviews>
                                                         <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="r8P-b3-SYP">
-                                                            <rect key="frame" x="10" y="52" width="60" height="60"/>
+                                                            <rect key="frame" x="10" y="57" width="50" height="50"/>
                                                             <constraints>
-                                                                <constraint firstAttribute="width" constant="60" id="E4g-9T-EpV"/>
-                                                                <constraint firstAttribute="height" constant="60" id="z9o-Ex-Ffd"/>
+                                                                <constraint firstAttribute="width" constant="50" id="E4g-9T-EpV"/>
+                                                                <constraint firstAttribute="height" constant="50" id="z9o-Ex-Ffd"/>
                                                             </constraints>
                                                         </imageView>
                                                         <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Pickup Order New" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6qD-i1-tev">
@@ -252,16 +252,16 @@
                                                             </constraints>
                                                         </imageView>
                                                         <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iT9-Mg-UwI">
-                                                            <rect key="frame" x="75" y="34" width="285" height="96"/>
+                                                            <rect key="frame" x="65" y="34" width="295" height="96"/>
                                                             <subviews>
                                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="5/30/2018" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Z8k-hS-sOz">
-                                                                    <rect key="frame" x="40" y="69" width="245" height="17"/>
+                                                                    <rect key="frame" x="40" y="69" width="255" height="17"/>
                                                                     <fontDescription key="fontDescription" type="system" pointSize="14"/>
                                                                     <nil key="textColor"/>
                                                                     <nil key="highlightedColor"/>
                                                                 </label>
                                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="AFS180530001200" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hNu-AY-bfS">
-                                                                    <rect key="frame" x="73" y="0.0" width="212" height="17"/>
+                                                                    <rect key="frame" x="73" y="0.0" width="222" height="17"/>
                                                                     <fontDescription key="fontDescription" type="system" pointSize="14"/>
                                                                     <nil key="textColor"/>
                                                                     <nil key="highlightedColor"/>
@@ -285,7 +285,7 @@
                                                                     <nil key="highlightedColor"/>
                                                                 </label>
                                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Pick Up" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1vU-Ly-MVu">
-                                                                    <rect key="frame" x="81.5" y="44" width="203.5" height="17"/>
+                                                                    <rect key="frame" x="81.5" y="44" width="213.5" height="17"/>
                                                                     <fontDescription key="fontDescription" type="system" pointSize="14"/>
                                                                     <nil key="textColor"/>
                                                                     <nil key="highlightedColor"/>
@@ -300,7 +300,7 @@
                                                                     <nil key="highlightedColor"/>
                                                                 </label>
                                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="TCNU6432476" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Kd7-FH-8p2">
-                                                                    <rect key="frame" x="98" y="22" width="187" height="17"/>
+                                                                    <rect key="frame" x="98" y="22" width="197" height="17"/>
                                                                     <fontDescription key="fontDescription" type="system" pointSize="14"/>
                                                                     <nil key="textColor"/>
                                                                     <nil key="highlightedColor"/>

+ 1 - 1
Redant Drivers/Apex And Drivers/Home/RAHomeOrderModel.m

@@ -66,7 +66,7 @@
 
 - (UIImage *)antiAlias:(UIImage *)img {
     
-    CGFloat size = 70.0f;
+    CGFloat size = 50.0f;
     
     UIGraphicsBeginImageContextWithOptions(CGSizeMake(size, size), NO, [UIScreen mainScreen].scale);
     [img drawInRect:CGRectMake(0, 0, size, size)];