Skip to content

Commit e979b3e

Browse files
committed
Updated sample codes.
1 parent d5cb8e4 commit e979b3e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

AXAnimationChain/Base.lproj/Main.storyboard

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,10 +478,13 @@
478478
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
479479
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
480480
<subviews>
481-
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="lYQ-wL-GYJ">
481+
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="lYQ-wL-GYJ">
482482
<rect key="frame" x="16" y="72" width="128" height="128"/>
483-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
484483
<color key="backgroundColor" red="1" green="0.5" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
484+
<constraints>
485+
<constraint firstAttribute="height" constant="128" id="asY-93-3Rk"/>
486+
<constraint firstAttribute="width" constant="128" id="cT3-bi-4e9"/>
487+
</constraints>
485488
<userDefinedRuntimeAttributes>
486489
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
487490
<integer key="value" value="64"/>
@@ -491,6 +494,10 @@
491494
</view>
492495
</subviews>
493496
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
497+
<constraints>
498+
<constraint firstItem="lYQ-wL-GYJ" firstAttribute="leading" secondItem="SRs-f3-fpo" secondAttribute="leading" constant="16" id="o45-Bi-yC3"/>
499+
<constraint firstItem="lYQ-wL-GYJ" firstAttribute="top" secondItem="PVH-Uq-sm7" secondAttribute="bottom" constant="8" id="qfH-RF-0Zz"/>
500+
</constraints>
494501
</view>
495502
<navigationItem key="navigationItem" title="Decay" id="cWJ-O5-FP1"/>
496503
<connections>

0 commit comments

Comments
 (0)