Skip to content

Commit d87df71

Browse files
author
Arlin
committed
[iOS] Change text of ContentInspect
1 parent 4b78de1 commit d87df71

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

iOS/APIExample/Examples/Advanced/ContentInspect/Base.lproj/ContentInspect.storyboard

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@
2121
<rect key="frame" x="0.0" y="44" width="414" height="852"/>
2222
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
2323
</view>
24-
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Use the camera point to picture and check content inspect effect" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9PU-6P-kJP">
25-
<rect key="frame" x="0.0" y="44" width="414" height="36"/>
24+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="You can use the camera point to picture and check content inspect effect" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9PU-6P-kJP">
25+
<rect key="frame" x="0.0" y="44" width="414" height="40"/>
2626
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.29999999999999999" colorSpace="custom" customColorSpace="calibratedRGB"/>
2727
<constraints>
28-
<constraint firstAttribute="height" relation="lessThanOrEqual" constant="45" id="QAp-j8-FjT"/>
28+
<constraint firstAttribute="height" constant="40" id="KNB-57-8Pl"/>
2929
</constraints>
3030
<fontDescription key="fontDescription" type="system" pointSize="15"/>
3131
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
3232
<nil key="highlightedColor"/>
3333
</label>
3434
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Bcn-3s-hFS">
35-
<rect key="frame" x="0.0" y="80" width="414" height="25"/>
35+
<rect key="frame" x="0.0" y="84" width="414" height="25"/>
3636
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.29999999999999999" colorSpace="custom" customColorSpace="calibratedRGB"/>
3737
<constraints>
3838
<constraint firstAttribute="height" constant="25" id="fIs-nQ-YDD"/>
@@ -45,16 +45,16 @@
4545
<viewLayoutGuide key="safeArea" id="vDu-zF-Fre"/>
4646
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
4747
<constraints>
48-
<constraint firstItem="9PU-6P-kJP" firstAttribute="leading" secondItem="vDu-zF-Fre" secondAttribute="leading" id="9Iw-il-Tbu"/>
48+
<constraint firstItem="Bcn-3s-hFS" firstAttribute="trailing" secondItem="vDu-zF-Fre" secondAttribute="trailing" id="4z3-2y-RjX"/>
4949
<constraint firstItem="zSG-kO-G9c" firstAttribute="leading" secondItem="vDu-zF-Fre" secondAttribute="leading" id="D4L-Mh-wNP"/>
5050
<constraint firstItem="zSG-kO-G9c" firstAttribute="top" secondItem="vDu-zF-Fre" secondAttribute="top" id="H1P-Zt-4hi"/>
5151
<constraint firstAttribute="bottom" secondItem="zSG-kO-G9c" secondAttribute="bottom" id="Lk3-zF-P0z"/>
52-
<constraint firstItem="Bcn-3s-hFS" firstAttribute="top" secondItem="9PU-6P-kJP" secondAttribute="bottom" id="VBN-4D-0Qg"/>
52+
<constraint firstItem="Bcn-3s-hFS" firstAttribute="top" secondItem="9PU-6P-kJP" secondAttribute="bottom" id="OEd-XK-xSF"/>
53+
<constraint firstItem="9PU-6P-kJP" firstAttribute="leading" secondItem="5EZ-qb-Rvc" secondAttribute="leading" id="WAg-iv-j2g"/>
5354
<constraint firstItem="vDu-zF-Fre" firstAttribute="trailing" secondItem="zSG-kO-G9c" secondAttribute="trailing" id="dCl-fi-VYv"/>
54-
<constraint firstItem="9PU-6P-kJP" firstAttribute="top" secondItem="vDu-zF-Fre" secondAttribute="top" id="fxa-E3-09m"/>
55-
<constraint firstItem="9PU-6P-kJP" firstAttribute="trailing" secondItem="vDu-zF-Fre" secondAttribute="trailing" id="j9T-Cu-6MY"/>
56-
<constraint firstItem="Bcn-3s-hFS" firstAttribute="leading" secondItem="vDu-zF-Fre" secondAttribute="leading" id="x1X-2R-v7i"/>
57-
<constraint firstItem="Bcn-3s-hFS" firstAttribute="trailing" secondItem="vDu-zF-Fre" secondAttribute="trailing" id="x38-6W-3FI"/>
55+
<constraint firstItem="Bcn-3s-hFS" firstAttribute="leading" secondItem="vDu-zF-Fre" secondAttribute="leading" id="rjF-95-WxC"/>
56+
<constraint firstAttribute="trailing" secondItem="9PU-6P-kJP" secondAttribute="trailing" id="s7K-6i-KmU"/>
57+
<constraint firstItem="9PU-6P-kJP" firstAttribute="top" secondItem="vDu-zF-Fre" secondAttribute="top" id="xbT-ek-tAI"/>
5858
</constraints>
5959
</view>
6060
<connections>

iOS/APIExample/Examples/Advanced/ContentInspect/ContentInspect.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ContentInspectViewController: BaseViewController {
3939
videoCanvas.renderMode = .hidden
4040
agoraKit.setupLocalVideo(videoCanvas)
4141

42-
// Enable content inspect with local viode view
42+
// Enable content inspect with local video view
4343
let moderateModule = AgoraContentInspectModule()
4444
moderateModule.vendor = .agora
4545
moderateModule.token = nil

iOS/APIExample/Examples/Advanced/ContentInspect/zh-Hans.lproj/ContentInspect.strings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
/* Class = "UILabel"; text = "Use the camera point to picture and check content inspect effect"; ObjectID = "9PU-6P-kJP"; */
3-
"9PU-6P-kJP.text" = "用摄像头对准图片检验鉴黄效果";
3+
"9PU-6P-kJP.text" = "你可以用摄像头对准图片检验鉴黄效果";
44

55
/* Class = "UIButton"; normalTitle = "Join"; ObjectID = "Nsf-MZ-fEg"; */
66
"Nsf-MZ-fEg.normalTitle" = "加入频道";

0 commit comments

Comments
 (0)