Procházet zdrojové kódy

1.修改iOS Apex Drivers部分图标。

Pen Li před 7 roky
rodič
revize
7e8ec68605
24 změnil soubory, kde provedl 176 přidání a 62 odebrání
  1. 23 0
      Redant Drivers/Apex And Drivers/Assets.xcassets/btn_map.imageset/Contents.json
  2. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/btn_map.imageset/btn_map.png
  3. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/btn_map.imageset/btn_map@2x.png
  4. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/btn_map.imageset/btn_map@3x.png
  5. 23 0
      Redant Drivers/Apex And Drivers/Assets.xcassets/btn_navigation.imageset/Contents.json
  6. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/btn_navigation.imageset/btn_navigation.png
  7. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/btn_navigation.imageset/btn_navigation@2x.png
  8. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/btn_navigation.imageset/btn_navigation@3x.png
  9. 23 0
      Redant Drivers/Apex And Drivers/Assets.xcassets/btn_scanner.imageset/Contents.json
  10. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/btn_scanner.imageset/btn_scanner.png
  11. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/btn_scanner.imageset/btn_scanner@2x.png
  12. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/btn_scanner.imageset/btn_scanner@3x.png
  13. 23 0
      Redant Drivers/Apex And Drivers/Assets.xcassets/check_mark.imageset/Contents.json
  14. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/check_mark.imageset/check_mark.png
  15. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/check_mark.imageset/check_mark@2x.png
  16. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/check_mark.imageset/check_mark@3x.png
  17. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/upload_list.imageset/upload_list.png
  18. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/upload_list.imageset/upload_list@2x.png
  19. binární
      Redant Drivers/Apex And Drivers/Assets.xcassets/upload_list.imageset/upload_list@3x.png
  20. 34 34
      Redant Drivers/Apex And Drivers/Detail/Detail.storyboard
  21. 10 0
      Redant Drivers/Apex And Drivers/Filter/Cell/RAOrderFilterDateCell.m
  22. 3 1
      Redant Drivers/Apex And Drivers/Filter/RAOrderFilterViewController.m
  23. 35 25
      Redant Drivers/Apex And Drivers/Filter/orderFilter.storyboard
  24. 2 2
      Redant Drivers/Apex And Drivers/Update/Cell/RAEditScanInputCell.m

+ 23 - 0
Redant Drivers/Apex And Drivers/Assets.xcassets/btn_map.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "btn_map.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "btn_map@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "btn_map@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

binární
Redant Drivers/Apex And Drivers/Assets.xcassets/btn_map.imageset/btn_map.png


binární
Redant Drivers/Apex And Drivers/Assets.xcassets/btn_map.imageset/btn_map@2x.png


binární
Redant Drivers/Apex And Drivers/Assets.xcassets/btn_map.imageset/btn_map@3x.png


+ 23 - 0
Redant Drivers/Apex And Drivers/Assets.xcassets/btn_navigation.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "btn_navigation.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "btn_navigation@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "btn_navigation@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

binární
Redant Drivers/Apex And Drivers/Assets.xcassets/btn_navigation.imageset/btn_navigation.png


binární
Redant Drivers/Apex And Drivers/Assets.xcassets/btn_navigation.imageset/btn_navigation@2x.png


binární
Redant Drivers/Apex And Drivers/Assets.xcassets/btn_navigation.imageset/btn_navigation@3x.png


+ 23 - 0
Redant Drivers/Apex And Drivers/Assets.xcassets/btn_scanner.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "btn_scanner.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "btn_scanner@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "btn_scanner@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

binární
Redant Drivers/Apex And Drivers/Assets.xcassets/btn_scanner.imageset/btn_scanner.png


binární
Redant Drivers/Apex And Drivers/Assets.xcassets/btn_scanner.imageset/btn_scanner@2x.png


binární
Redant Drivers/Apex And Drivers/Assets.xcassets/btn_scanner.imageset/btn_scanner@3x.png


+ 23 - 0
Redant Drivers/Apex And Drivers/Assets.xcassets/check_mark.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "check_mark.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "check_mark@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "check_mark@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

binární
Redant Drivers/Apex And Drivers/Assets.xcassets/check_mark.imageset/check_mark.png


binární
Redant Drivers/Apex And Drivers/Assets.xcassets/check_mark.imageset/check_mark@2x.png


binární
Redant Drivers/Apex And Drivers/Assets.xcassets/check_mark.imageset/check_mark@3x.png


binární
Redant Drivers/Apex And Drivers/Assets.xcassets/upload_list.imageset/upload_list.png


binární
Redant Drivers/Apex And Drivers/Assets.xcassets/upload_list.imageset/upload_list@2x.png


binární
Redant Drivers/Apex And Drivers/Assets.xcassets/upload_list.imageset/upload_list@3x.png


+ 34 - 34
Redant Drivers/Apex And Drivers/Detail/Detail.storyboard

@@ -1,12 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
     <device id="retina4_7" orientation="portrait">
         <adaptation id="fullscreen"/>
     </device>
     <dependencies>
         <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
-        <capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
         <capability name="Safe area layout guides" minToolsVersion="9.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
@@ -20,14 +19,14 @@
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
                             <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="Xxs-Bp-xwk">
-                                <rect key="frame" x="0.0" y="20" width="375" height="647"/>
+                                <rect key="frame" x="0.0" y="20" width="600" height="580"/>
                                 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                                 <prototypes>
                                     <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="RADetailSingleLineCell" rowHeight="70" id="PRr-DR-Xqo" customClass="RADetailSingleLineCell">
-                                        <rect key="frame" x="0.0" y="28" width="375" height="70"/>
+                                        <rect key="frame" x="0.0" y="28" width="600" height="70"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="PRr-DR-Xqo" id="HGR-qE-k8g">
-                                            <rect key="frame" x="0.0" y="0.0" width="375" height="69.5"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="69.5"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Order ID" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IcX-EB-asg">
@@ -62,10 +61,10 @@
                                         </connections>
                                     </tableViewCell>
                                     <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="RADetailMultLineCell" rowHeight="90" id="hLY-jO-rx0" customClass="RADetailMultLineCell">
-                                        <rect key="frame" x="0.0" y="98" width="375" height="90"/>
+                                        <rect key="frame" x="0.0" y="98" width="600" height="90"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="hLY-jO-rx0" id="xPv-W6-2E0">
-                                            <rect key="frame" x="0.0" y="0.0" width="375" height="89.5"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="89.5"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nxW-Ig-F5h">
@@ -91,10 +90,10 @@ PICKUP ON</string>
                                         </connections>
                                     </tableViewCell>
                                     <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="RADetailLocationCell" rowHeight="100" id="2RY-c8-4kR" customClass="RADetailLocationCell">
-                                        <rect key="frame" x="0.0" y="188" width="375" height="100"/>
+                                        <rect key="frame" x="0.0" y="188" width="600" height="100"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="2RY-c8-4kR" id="8uQ-ij-SSa">
-                                            <rect key="frame" x="0.0" y="0.0" width="375" height="99.5"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="99.5"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ECt-q4-gbV">
@@ -106,19 +105,19 @@ OAKLAND,CA</string>
                                                     <nil key="textColor"/>
                                                     <nil key="highlightedColor"/>
                                                 </label>
-                                                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="E85-g7-fwi">
-                                                    <rect key="frame" x="297" y="48" width="73" height="30"/>
+                                                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="E85-g7-fwi">
+                                                    <rect key="frame" x="520" y="28" width="70" height="70"/>
                                                     <constraints>
-                                                        <constraint firstAttribute="height" constant="30" id="Bt5-LJ-HeT"/>
-                                                        <constraint firstAttribute="width" constant="73" id="vza-Ko-Kz7"/>
+                                                        <constraint firstAttribute="height" constant="70" id="Bt5-LJ-HeT"/>
+                                                        <constraint firstAttribute="width" constant="70" id="vza-Ko-Kz7"/>
                                                     </constraints>
-                                                    <state key="normal" title="Navigation"/>
+                                                    <state key="normal" image="btn_navigation"/>
                                                     <connections>
                                                         <action selector="navigationBtnClick:" destination="2RY-c8-4kR" eventType="touchUpInside" id="Uh4-L7-HQA"/>
                                                     </connections>
                                                 </button>
                                                 <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="off-5x-hpV">
-                                                    <rect key="frame" x="5" y="5" width="365" height="21"/>
+                                                    <rect key="frame" x="5" y="5" width="590" height="21"/>
                                                     <constraints>
                                                         <constraint firstAttribute="height" constant="21" id="Pn5-ru-O79"/>
                                                     </constraints>
@@ -133,7 +132,7 @@ OAKLAND,CA</string>
                                                 <constraint firstAttribute="bottom" secondItem="ECt-q4-gbV" secondAttribute="bottom" constant="5" id="C2P-AA-Ri7"/>
                                                 <constraint firstItem="off-5x-hpV" firstAttribute="top" secondItem="8uQ-ij-SSa" secondAttribute="top" constant="5" id="K6e-CH-Pjd"/>
                                                 <constraint firstItem="ECt-q4-gbV" firstAttribute="top" secondItem="off-5x-hpV" secondAttribute="bottom" constant="5" id="cna-9u-WJh"/>
-                                                <constraint firstAttribute="trailing" secondItem="E85-g7-fwi" secondAttribute="trailing" constant="5" id="lQq-bo-Keq"/>
+                                                <constraint firstAttribute="trailing" secondItem="E85-g7-fwi" secondAttribute="trailing" constant="10" id="lQq-bo-Keq"/>
                                                 <constraint firstItem="E85-g7-fwi" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="ECt-q4-gbV" secondAttribute="trailing" constant="5" id="w7k-4C-7bW"/>
                                                 <constraint firstItem="E85-g7-fwi" firstAttribute="centerY" secondItem="ECt-q4-gbV" secondAttribute="centerY" id="wLX-D8-Sto"/>
                                                 <constraint firstAttribute="trailing" secondItem="off-5x-hpV" secondAttribute="trailing" constant="5" id="zj7-JY-cEr"/>
@@ -146,10 +145,10 @@ OAKLAND,CA</string>
                                         </connections>
                                     </tableViewCell>
                                     <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="RADetailActionsCell" rowHeight="100" id="22c-X4-T1m" customClass="RADetailActionsCell">
-                                        <rect key="frame" x="0.0" y="288" width="375" height="100"/>
+                                        <rect key="frame" x="0.0" y="288" width="600" height="100"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="22c-X4-T1m" id="f99-Y7-BOd">
-                                            <rect key="frame" x="0.0" y="0.0" width="375" height="99.5"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="99.5"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="iKo-LB-QEE">
@@ -215,10 +214,10 @@ OAKLAND,CA</string>
                                         </connections>
                                     </tableViewCell>
                                     <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="RADetailMapCell" rowHeight="100" id="sLQ-ry-Yxv" customClass="RADetailMapCell">
-                                        <rect key="frame" x="0.0" y="388" width="375" height="100"/>
+                                        <rect key="frame" x="0.0" y="388" width="600" height="100"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="sLQ-ry-Yxv" id="3xH-7S-3HD">
-                                            <rect key="frame" x="0.0" y="0.0" width="375" height="99.5"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="99.5"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PFm-sQ-c4b">
@@ -231,7 +230,7 @@ OAKLAND,CA</string>
                                                     <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="xB6-BK-ueh">
-                                                    <rect key="frame" x="5" y="5" width="365" height="21"/>
+                                                    <rect key="frame" x="5" y="5" width="590" height="21"/>
                                                     <constraints>
                                                         <constraint firstAttribute="height" constant="21" id="fu8-8j-kB0"/>
                                                     </constraints>
@@ -240,12 +239,12 @@ OAKLAND,CA</string>
                                                     <nil key="highlightedColor"/>
                                                 </label>
                                                 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ev3-or-KB1">
-                                                    <rect key="frame" x="300" y="27" width="70" height="70"/>
+                                                    <rect key="frame" x="520" y="28" width="70" height="70"/>
                                                     <constraints>
                                                         <constraint firstAttribute="height" constant="70" id="7wS-i9-I5v"/>
                                                         <constraint firstAttribute="width" constant="70" id="SOy-eZ-AVi"/>
                                                     </constraints>
-                                                    <state key="normal" image="action_setting"/>
+                                                    <state key="normal" image="btn_map"/>
                                                     <connections>
                                                         <action selector="navigationBtnClick:" destination="sLQ-ry-Yxv" eventType="touchUpInside" id="bBe-wQ-Bh4"/>
                                                     </connections>
@@ -256,7 +255,7 @@ OAKLAND,CA</string>
                                                 <constraint firstItem="xB6-BK-ueh" firstAttribute="top" secondItem="3xH-7S-3HD" secondAttribute="top" constant="5" id="KSy-vK-d3g"/>
                                                 <constraint firstItem="PFm-sQ-c4b" firstAttribute="top" secondItem="xB6-BK-ueh" secondAttribute="bottom" constant="5" id="RvK-I5-aUn"/>
                                                 <constraint firstItem="ev3-or-KB1" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="PFm-sQ-c4b" secondAttribute="trailing" constant="5" id="TYF-kk-BvU"/>
-                                                <constraint firstAttribute="trailing" secondItem="ev3-or-KB1" secondAttribute="trailing" constant="5" id="b23-nc-OSg"/>
+                                                <constraint firstAttribute="trailing" secondItem="ev3-or-KB1" secondAttribute="trailing" constant="10" id="b23-nc-OSg"/>
                                                 <constraint firstItem="xB6-BK-ueh" firstAttribute="leading" secondItem="3xH-7S-3HD" secondAttribute="leading" constant="5" id="eGw-aX-50a"/>
                                                 <constraint firstItem="PFm-sQ-c4b" firstAttribute="leading" secondItem="3xH-7S-3HD" secondAttribute="leading" constant="5" id="eSs-EX-al6"/>
                                                 <constraint firstAttribute="bottom" secondItem="PFm-sQ-c4b" secondAttribute="bottom" constant="5" id="fmQ-Bh-2j8"/>
@@ -270,14 +269,14 @@ OAKLAND,CA</string>
                                         </connections>
                                     </tableViewCell>
                                     <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="RADetailPhotoCell" rowHeight="100" id="44Q-BL-fjP" customClass="RADetailPhotoCell">
-                                        <rect key="frame" x="0.0" y="488" width="375" height="100"/>
+                                        <rect key="frame" x="0.0" y="488" width="600" height="100"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="44Q-BL-fjP" id="k4f-vX-hlb">
-                                            <rect key="frame" x="0.0" y="0.0" width="375" height="99.5"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="99.5"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="M6V-ez-t4d">
-                                                    <rect key="frame" x="5" y="-0.5" width="42" height="100"/>
+                                                    <rect key="frame" x="5" y="0.0" width="42" height="99.5"/>
                                                     <fontDescription key="fontDescription" type="system" pointSize="17"/>
                                                     <nil key="textColor"/>
                                                     <nil key="highlightedColor"/>
@@ -306,10 +305,10 @@ OAKLAND,CA</string>
                                         </connections>
                                     </tableViewCell>
                                     <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="RADetailSignatureCell" rowHeight="150" id="KBG-tu-iKo" customClass="RADetailSignatureCell">
-                                        <rect key="frame" x="0.0" y="588" width="375" height="150"/>
+                                        <rect key="frame" x="0.0" y="588" width="600" height="150"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="KBG-tu-iKo" id="EcS-EV-o0B">
-                                            <rect key="frame" x="0.0" y="0.0" width="375" height="149.5"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="149.5"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ErT-qT-9u6">
@@ -373,14 +372,14 @@ OAKLAND,CA</string>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
                             <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="dkO-Ta-IQf">
-                                <rect key="frame" x="0.0" y="20" width="375" height="647"/>
+                                <rect key="frame" x="0.0" y="20" width="600" height="580"/>
                                 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                                 <prototypes>
                                     <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="RADetailActionSelectionCell" id="8M5-Ka-QBN" customClass="RADetailActionSelectionCell">
-                                        <rect key="frame" x="0.0" y="28" width="375" height="44"/>
+                                        <rect key="frame" x="0.0" y="28" width="600" height="44"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="8M5-Ka-QBN" id="CTw-dI-j8V">
-                                            <rect key="frame" x="0.0" y="0.0" width="375" height="43.5"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43.5"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DSZ-Hp-4ld">
@@ -427,6 +426,7 @@ OAKLAND,CA</string>
         </scene>
     </scenes>
     <resources>
-        <image name="action_setting" width="40" height="40"/>
+        <image name="btn_map" width="50" height="50"/>
+        <image name="btn_navigation" width="50" height="50"/>
     </resources>
 </document>

+ 10 - 0
Redant Drivers/Apex And Drivers/Filter/Cell/RAOrderFilterDateCell.m

@@ -25,6 +25,8 @@
     // Initialization code
     
     self.selectionStyle = UITableViewCellSelectionStyleNone;
+    [self cornerRadiusForView:self.fromBtn];
+    [self cornerRadiusForView:self.toBtn];
 }
 
 - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
@@ -68,4 +70,12 @@
     [self.toBtn setTitle:to forState:UIControlStateNormal];
 }
 
+- (void)cornerRadiusForView:(UIView *)view {
+    
+    view.layer.borderWidth = 1.0f;
+    view.layer.cornerRadius = 5.0f;
+    view.layer.masksToBounds = YES;
+    view.layer.borderColor = ApexDriverGrayColor.CGColor;
+}
+
 @end

+ 3 - 1
Redant Drivers/Apex And Drivers/Filter/RAOrderFilterViewController.m

@@ -15,6 +15,8 @@
 @interface RAOrderFilterViewController () <UIGestureRecognizerDelegate>
 
 @property (nonatomic,strong) IBOutlet UITableView *filterTable;
+@property (nonatomic,strong) IBOutlet UIButton *searchBtn;
+
 @property (nonatomic,assign) NSInteger orderStatus;///< New Order、Processing Order、Finish Order
 @property (nonatomic,strong) NSMutableArray<RAOrderFilterSectionModel *> *sectionArray;
 
@@ -84,7 +86,7 @@
     } else {
         self.automaticallyAdjustsScrollViewInsets = NO;
     }
-    
+    self.searchBtn.layer.borderColor = ApexDriverGrayColor.CGColor;
 }
 
 - (UITableView *)tableView {

+ 35 - 25
Redant Drivers/Apex And Drivers/Filter/orderFilter.storyboard

@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
     <device id="retina4_7" orientation="portrait">
         <adaptation id="fullscreen"/>
     </device>
     <dependencies>
         <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
         <capability name="Safe area layout guides" minToolsVersion="9.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
@@ -19,16 +19,25 @@
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
                             <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="a7i-EN-gze">
-                                <rect key="frame" x="0.0" y="20" width="375" height="647"/>
+                                <rect key="frame" x="0.0" y="20" width="600" height="580"/>
                                 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                                 <view key="tableFooterView" contentMode="scaleToFill" id="goQ-QF-OSZ">
-                                    <rect key="frame" x="0.0" y="178" width="375" height="44"/>
+                                    <rect key="frame" x="0.0" y="178" width="600" height="44"/>
                                     <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                                     <subviews>
                                         <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7Rj-Wx-DTQ">
-                                            <rect key="frame" x="0.0" y="1" width="375" height="43"/>
+                                            <rect key="frame" x="5" y="1" width="590" height="43"/>
                                             <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                                             <state key="normal" title="Search"/>
+                                            <userDefinedRuntimeAttributes>
+                                                <userDefinedRuntimeAttribute type="number" keyPath="layer.borderWidth">
+                                                    <integer key="value" value="1"/>
+                                                </userDefinedRuntimeAttribute>
+                                                <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
+                                                    <integer key="value" value="5"/>
+                                                </userDefinedRuntimeAttribute>
+                                                <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
+                                            </userDefinedRuntimeAttributes>
                                             <connections>
                                                 <action selector="searchButtonClick:" destination="b7h-oK-i0d" eventType="touchUpInside" id="Njo-v6-j2g"/>
                                             </connections>
@@ -37,30 +46,30 @@
                                     <color key="backgroundColor" red="0.94288374352331605" green="0.94288374352331605" blue="0.94288374352331605" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                     <constraints>
                                         <constraint firstAttribute="bottom" secondItem="7Rj-Wx-DTQ" secondAttribute="bottom" id="HZb-9D-AsL"/>
-                                        <constraint firstAttribute="trailing" secondItem="7Rj-Wx-DTQ" secondAttribute="trailing" id="Ro7-4r-RPE"/>
+                                        <constraint firstAttribute="trailing" secondItem="7Rj-Wx-DTQ" secondAttribute="trailing" constant="5" id="Ro7-4r-RPE"/>
                                         <constraint firstItem="7Rj-Wx-DTQ" firstAttribute="top" secondItem="goQ-QF-OSZ" secondAttribute="top" constant="1" id="dHa-sj-0rb"/>
-                                        <constraint firstItem="7Rj-Wx-DTQ" firstAttribute="leading" secondItem="goQ-QF-OSZ" secondAttribute="leading" id="yPE-iV-Dai"/>
+                                        <constraint firstItem="7Rj-Wx-DTQ" firstAttribute="leading" secondItem="goQ-QF-OSZ" secondAttribute="leading" constant="5" id="yPE-iV-Dai"/>
                                     </constraints>
                                 </view>
                                 <prototypes>
                                     <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="RAOrderFilterStatusCell" rowHeight="50" id="hjv-Nk-Dm5" customClass="RAOrderFilterStatusCell">
-                                        <rect key="frame" x="0.0" y="28" width="375" height="50"/>
+                                        <rect key="frame" x="0.0" y="28" width="600" height="50"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="hjv-Nk-Dm5" id="FFw-dW-CKf">
-                                            <rect key="frame" x="0.0" y="0.0" width="375" height="49.5"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="49.5"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Y6T-Kp-z23">
-                                                    <rect key="frame" x="5" y="14.5" width="320" height="21"/>
+                                                    <rect key="frame" x="5" y="14.5" width="560" height="21"/>
                                                     <fontDescription key="fontDescription" type="system" pointSize="17"/>
                                                     <nil key="textColor"/>
                                                     <nil key="highlightedColor"/>
                                                 </label>
-                                                <imageView contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Checkmark.png" translatesAutoresizingMaskIntoConstraints="NO" id="Ojw-Rz-bEx">
-                                                    <rect key="frame" x="330" y="4" width="40" height="40"/>
+                                                <imageView contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="check_mark" translatesAutoresizingMaskIntoConstraints="NO" id="Ojw-Rz-bEx">
+                                                    <rect key="frame" x="570" y="15" width="20" height="20"/>
                                                     <constraints>
-                                                        <constraint firstAttribute="width" constant="40" id="qmh-Es-QCm"/>
-                                                        <constraint firstAttribute="height" constant="40" id="yKk-ej-gvI"/>
+                                                        <constraint firstAttribute="width" constant="20" id="qmh-Es-QCm"/>
+                                                        <constraint firstAttribute="height" constant="20" id="yKk-ej-gvI"/>
                                                     </constraints>
                                                 </imageView>
                                             </subviews>
@@ -69,7 +78,7 @@
                                                 <constraint firstItem="Y6T-Kp-z23" firstAttribute="centerY" secondItem="FFw-dW-CKf" secondAttribute="centerY" id="bds-ba-KQP"/>
                                                 <constraint firstItem="Y6T-Kp-z23" firstAttribute="leading" secondItem="FFw-dW-CKf" secondAttribute="leading" constant="5" id="k3n-rV-Th1"/>
                                                 <constraint firstItem="Ojw-Rz-bEx" firstAttribute="leading" secondItem="Y6T-Kp-z23" secondAttribute="trailing" constant="5" id="obN-iA-2mT"/>
-                                                <constraint firstAttribute="trailing" secondItem="Ojw-Rz-bEx" secondAttribute="trailing" constant="5" id="pKr-P3-5ap"/>
+                                                <constraint firstAttribute="trailing" secondItem="Ojw-Rz-bEx" secondAttribute="trailing" constant="10" id="pKr-P3-5ap"/>
                                             </constraints>
                                         </tableViewCellContentView>
                                         <connections>
@@ -78,10 +87,10 @@
                                         </connections>
                                     </tableViewCell>
                                     <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="RAOrderFilterDateCell" rowHeight="50" id="CrM-Nd-7k0" customClass="RAOrderFilterDateCell">
-                                        <rect key="frame" x="0.0" y="78" width="375" height="50"/>
+                                        <rect key="frame" x="0.0" y="78" width="600" height="50"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="CrM-Nd-7k0" id="ZC9-gt-wnt">
-                                            <rect key="frame" x="0.0" y="0.0" width="375" height="49.5"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="49.5"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Qyi-QK-7XW">
@@ -114,10 +123,10 @@
                                         </connections>
                                     </tableViewCell>
                                     <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="RAOrderFilterInputCell" rowHeight="50" id="7T8-AK-bBK" customClass="RAOrderFilterInputCell">
-                                        <rect key="frame" x="0.0" y="128" width="375" height="50"/>
+                                        <rect key="frame" x="0.0" y="128" width="600" height="50"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="7T8-AK-bBK" id="mag-H5-gTb">
-                                            <rect key="frame" x="0.0" y="0.0" width="375" height="49.5"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="49.5"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                                 <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="Z7R-ah-wFK">
@@ -163,6 +172,7 @@
                     <connections>
                         <outlet property="filterTable" destination="a7i-EN-gze" id="DV2-UD-uIh"/>
                         <outlet property="resignTap" destination="zyk-y8-SKg" id="4H4-UG-R3w"/>
+                        <outlet property="searchBtn" destination="7Rj-Wx-DTQ" id="lnC-7u-0Ei"/>
                     </connections>
                 </viewController>
                 <placeholder placeholderIdentifier="IBFirstResponder" id="NS3-fN-yIS" userLabel="First Responder" sceneMemberID="firstResponder"/>
@@ -184,13 +194,13 @@
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
                             <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Title" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2g4-Gg-0Ru">
-                                <rect key="frame" x="5" y="25" width="365" height="21"/>
+                                <rect key="frame" x="5" y="25" width="590" height="21"/>
                                 <fontDescription key="fontDescription" type="boldSystem" pointSize="18"/>
                                 <nil key="textColor"/>
                                 <nil key="highlightedColor"/>
                             </label>
                             <datePicker contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="date" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="6hd-0G-aqr">
-                                <rect key="frame" x="0.0" y="56" width="375" height="238"/>
+                                <rect key="frame" x="0.0" y="56" width="600" height="238"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="238" id="Qtz-qV-kzO"/>
                                 </constraints>
@@ -199,10 +209,10 @@
                                 </date>
                             </datePicker>
                             <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6Ff-xa-iJY">
-                                <rect key="frame" x="0.0" y="294" width="375" height="41"/>
+                                <rect key="frame" x="0.0" y="294" width="600" height="41"/>
                                 <subviews>
                                     <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="88Y-5e-Ze7">
-                                        <rect key="frame" x="188" y="1" width="187" height="40"/>
+                                        <rect key="frame" x="300.5" y="1" width="299.5" height="40"/>
                                         <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                                         <constraints>
                                             <constraint firstAttribute="height" constant="40" id="iuk-rP-hZ4"/>
@@ -215,7 +225,7 @@
                                         </connections>
                                     </button>
                                     <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7Vh-DW-0uh">
-                                        <rect key="frame" x="0.0" y="1" width="187" height="40"/>
+                                        <rect key="frame" x="0.0" y="1" width="299.5" height="40"/>
                                         <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                                         <constraints>
                                             <constraint firstAttribute="height" constant="40" id="qeM-pM-TfW"/>
@@ -264,6 +274,6 @@
         </scene>
     </scenes>
     <resources>
-        <image name="Checkmark.png" width="50" height="50"/>
+        <image name="check_mark" width="20" height="20"/>
     </resources>
 </document>

+ 2 - 2
Redant Drivers/Apex And Drivers/Update/Cell/RAEditScanInputCell.m

@@ -68,8 +68,8 @@
         self.inputTextField.rightViewMode = UITextFieldViewModeAlways;
         UIButton *scanBtn = [UIButton buttonWithType:UIButtonTypeCustom];
         scanBtn.bounds = CGRectMake(0, 0, 30, 30);
-        [scanBtn setImage:[UIImage imageNamed:@"Barcode_n"] forState:UIControlStateNormal];
-        [scanBtn setImage:[UIImage imageNamed:@"Barcode_h"] forState:UIControlStateHighlighted];
+        [scanBtn setImage:[UIImage imageNamed:@"btn_scanner"] forState:UIControlStateNormal];
+//        [scanBtn setImage:[UIImage imageNamed:@"Barcode_h"] forState:UIControlStateHighlighted];
         [scanBtn addTarget:self action:@selector(scanBtnClick:) forControlEvents:UIControlEventTouchUpInside];
         self.inputTextField.rightView = scanBtn;