Просмотр исходного кода

1.修改RedAnt Mobile CommonEditor Enum Selector适配iPhone。

Pen Li 8 лет назад
Родитель
Сommit
20bb34d830
1 измененных файлов с 18 добавлено и 3 удалено
  1. 18 3
      RedAnt Mobile/RedAnt Mobile/Base.lproj/Main.storyboard

+ 18 - 3
RedAnt Mobile/RedAnt Mobile/Base.lproj/Main.storyboard

@@ -444,9 +444,8 @@
                         <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                         <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                         <subviews>
                         <subviews>
-                            <tableView clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" translatesAutoresizingMaskIntoConstraints="NO" id="m1q-zP-831">
-                                <rect key="frame" x="0.0" y="24" width="375" height="643"/>
-                                <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                            <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" translatesAutoresizingMaskIntoConstraints="NO" id="m1q-zP-831">
+                                <rect key="frame" x="0.0" y="76" width="375" height="591"/>
                                 <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                 <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                 <prototypes>
                                 <prototypes>
                                     <tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="EnumSelectorCell" id="P5L-MP-rAX" customClass="EnumSelectorCell">
                                     <tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="EnumSelectorCell" id="P5L-MP-rAX" customClass="EnumSelectorCell">
@@ -478,8 +477,24 @@
                                     <outlet property="delegate" destination="HLP-Ms-Evp" id="rpX-xg-hL7"/>
                                     <outlet property="delegate" destination="HLP-Ms-Evp" id="rpX-xg-hL7"/>
                                 </connections>
                                 </connections>
                             </tableView>
                             </tableView>
+                            <searchBar contentMode="redraw" placeholder="filter" translatesAutoresizingMaskIntoConstraints="NO" id="U7O-Gp-eXa">
+                                <rect key="frame" x="0.0" y="20" width="375" height="56"/>
+                                <textInputTraits key="textInputTraits"/>
+                                <connections>
+                                    <outlet property="delegate" destination="HLP-Ms-Evp" id="uJ0-HL-G6z"/>
+                                </connections>
+                            </searchBar>
                         </subviews>
                         </subviews>
                         <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                         <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                        <constraints>
+                            <constraint firstItem="m1q-zP-831" firstAttribute="trailing" secondItem="U7O-Gp-eXa" secondAttribute="trailing" id="7dD-ep-nor"/>
+                            <constraint firstAttribute="trailing" secondItem="U7O-Gp-eXa" secondAttribute="trailing" id="B7v-Bh-PjG"/>
+                            <constraint firstItem="m1q-zP-831" firstAttribute="top" secondItem="U7O-Gp-eXa" secondAttribute="bottom" id="Oyc-n6-pBu"/>
+                            <constraint firstItem="4cN-gj-dk0" firstAttribute="top" secondItem="m1q-zP-831" secondAttribute="bottom" id="PjK-6M-269"/>
+                            <constraint firstItem="U7O-Gp-eXa" firstAttribute="leading" secondItem="8Ne-Jp-kx1" secondAttribute="leading" id="Ygq-rN-uGb"/>
+                            <constraint firstItem="U7O-Gp-eXa" firstAttribute="top" secondItem="9FM-Nt-lDZ" secondAttribute="bottom" id="hDB-TE-OCy"/>
+                            <constraint firstItem="m1q-zP-831" firstAttribute="leading" secondItem="U7O-Gp-eXa" secondAttribute="leading" id="lXm-h9-hJE"/>
+                        </constraints>
                     </view>
                     </view>
                     <value key="contentSizeForViewInPopover" type="size" width="540" height="680"/>
                     <value key="contentSizeForViewInPopover" type="size" width="540" height="680"/>
                     <modalFormSheetSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
                     <modalFormSheetSimulatedSizeMetrics key="simulatedDestinationMetrics"/>