Browse Source

替换直播翻转摄像头图片

Steven 2 years ago
parent
commit
cf484afd6f

BIN
KulexiuForTeacher/KulexiuForTeacher.xcworkspace/xcuserdata/wangzhi.xcuserdatad/UserInterfaceState.xcuserstate


+ 22 - 0
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Live/liveRoom_switch.imageset/Contents.json

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

BIN
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Live/liveRoom_switch.imageset/liveRoom_switch@2x.png


BIN
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/Live/liveRoom_switch.imageset/liveRoom_switch@3x.png


+ 4 - 4
KulexiuForTeacher/KulexiuForTeacher/Module/Live/View/LiveRoomHeadView.xib

@@ -177,9 +177,9 @@
                     </userDefinedRuntimeAttributes>
                 </view>
                 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vRv-kX-ZaV">
-                    <rect key="frame" x="286" y="6.5" width="35" height="35"/>
+                    <rect key="frame" x="281" y="5" width="38" height="38"/>
                     <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                    <state key="normal" image="live_switch"/>
+                    <state key="normal" image="liveRoom_switch"/>
                     <connections>
                         <action selector="switchCamera:" destination="iN0-l3-epB" eventType="touchUpInside" id="dLH-X7-w1I"/>
                     </connections>
@@ -188,7 +188,7 @@
             <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
             <constraints>
                 <constraint firstItem="2Q6-aH-Lkg" firstAttribute="top" secondItem="Bsy-0e-Kd6" secondAttribute="bottom" constant="4" id="9DL-kc-PFQ"/>
-                <constraint firstItem="vM0-gj-bnG" firstAttribute="leading" secondItem="vRv-kX-ZaV" secondAttribute="trailing" constant="10" id="Aoe-kP-SY0"/>
+                <constraint firstItem="vM0-gj-bnG" firstAttribute="leading" secondItem="vRv-kX-ZaV" secondAttribute="trailing" constant="12" id="Aoe-kP-SY0"/>
                 <constraint firstItem="vM0-gj-bnG" firstAttribute="centerY" secondItem="vRv-kX-ZaV" secondAttribute="centerY" id="GQc-SW-iVo"/>
                 <constraint firstItem="2Q6-aH-Lkg" firstAttribute="leading" secondItem="Bsy-0e-Kd6" secondAttribute="leading" id="Qdk-xr-AJa"/>
                 <constraint firstAttribute="trailing" secondItem="vM0-gj-bnG" secondAttribute="trailing" constant="12" id="Sda-ur-z0i"/>
@@ -219,8 +219,8 @@
     <resources>
         <image name="chatroom_member" width="32" height="32"/>
         <image name="like_logo" width="14" height="14"/>
+        <image name="liveRoom_switch" width="38" height="38"/>
         <image name="live_networking_good" width="20" height="15"/>
-        <image name="live_switch" width="35" height="35"/>
         <image name="user_default_avatal" width="52" height="52"/>
     </resources>
 </document>

+ 1 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MinePageHeadView.m

@@ -20,6 +20,7 @@
 
 - (void)awakeFromNib {
     [super awakeFromNib];
+    self.viewHeight.constant = kNaviBarHeight;
 }
 
 + (instancetype)shareInstance {