|
26
|
+ </collectionView>
|
|
|
27
|
+ <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ckt-CA-ny6">
|
|
|
28
|
+ <rect key="frame" x="303" y="597" width="64" height="64"/>
|
|
|
29
|
+ <constraints>
|
|
|
30
|
+ <constraint firstAttribute="height" constant="64" id="dza-Pq-ZRx"/>
|
|
|
31
|
+ <constraint firstAttribute="width" constant="64" id="kEi-cK-cxH"/>
|
|
|
32
|
+ </constraints>
|
|
|
33
|
+ <state key="normal" image="BTN-拍照"/>
|
|
|
34
|
+ <state key="selected" image="BTN-拍照-press"/>
|
|
|
35
|
+ <connections>
|
|
|
36
|
+ <action selector="takePhotoAction" destination="qPy-31-33I" eventType="touchUpInside" id="vIP-Gk-vDZ"/>
|
|
|
37
|
+ </connections>
|
|
|
38
|
+ </button>
|
|
|
39
|
+ </subviews>
|
|
|
40
|
+ <color key="backgroundColor" red="0.87843137250000003" green="0.87843137250000003" blue="0.87843137250000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
|
|
41
|
+ <constraints>
|
|
|
42
|
+ <constraint firstItem="jD2-65-6eY" firstAttribute="bottom" secondItem="Ckt-CA-ny6" secondAttribute="bottom" constant="6" id="3sN-1z-kEg"/>
|
|
|
43
|
+ <constraint firstItem="jD2-65-6eY" firstAttribute="trailing" secondItem="SQ2-vg-KI2" secondAttribute="trailing" id="6Mx-Yn-Q9C"/>
|
|
|
44
|
+ <constraint firstItem="SQ2-vg-KI2" firstAttribute="top" secondItem="jD2-65-6eY" secondAttribute="top" id="SjQ-TS-6Py"/>
|
|
|
45
|
+ <constraint firstItem="SQ2-vg-KI2" firstAttribute="leading" secondItem="jD2-65-6eY" secondAttribute="leading" id="jE9-N2-trU"/>
|
|
|
46
|
+ <constraint firstItem="jD2-65-6eY" firstAttribute="trailing" secondItem="Ckt-CA-ny6" secondAttribute="trailing" constant="8" id="ory-hZ-HWM"/>
|
|
|
47
|
+ <constraint firstAttribute="bottom" secondItem="SQ2-vg-KI2" secondAttribute="bottom" id="qMe-Om-r14"/>
|
|
|
48
|
+ </constraints>
|
|
|
49
|
+ <viewLayoutGuide key="safeArea" id="jD2-65-6eY"/>
|
|
|
50
|
+ </view>
|
|
|
51
|
+ <navigationItem key="navigationItem" id="sdS-ms-7Io"/>
|
|
|
52
|
+ <connections>
|
|
|
53
|
+ <outlet property="collectionView" destination="SQ2-vg-KI2" id="QZZ-9l-Lg5"/>
|
|
|
54
|
+ <outlet property="photographBtn" destination="Ckt-CA-ny6" id="nq9-32-Rhg"/>
|
|
|
55
|
+ </connections>
|
|
|
56
|
+ </viewController>
|
|
|
57
|
+ <placeholder placeholderIdentifier="IBFirstResponder" id="1WI-xu-c0y" sceneMemberID="firstResponder"/>
|
|
|
58
|
+ </objects>
|
|
|
59
|
+ <point key="canvasLocation" x="437.5" y="63.5"/>
|
|
|
60
|
+ </scene>
|
|
|
61
|
+ </scenes>
|
|
|
62
|
+ <resources>
|
|
|
63
|
+ <image name="BTN-拍照" width="168" height="168"/>
|
|
|
64
|
+ <image name="BTN-拍照-press" width="16" height="16"/>
|
|
|
65
|
+ </resources>
|
|
|
66
|
+</document>
|
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+//
|
|
|
2
|
+// GroupQRView.swift
|
|
|
3
|
+// Paiai_iOS
|
|
|
4
|
+//
|
|
|
5
|
+// Created by ffib on 2019/2/18.
|
|
|
6
|
+// Copyright © 2019 yb. All rights reserved.
|
|
|
7
|
+//
|
|
|
8
|
+
|
|
|
9
|
+import UIKit
|
|
|
10
|
+
|
|
|
11
|
+class GroupQRView: UIView {
|
|
|
12
|
+
|
|
|
13
|
+ /*
|
|
|
14
|
+ // Only override draw() if you perform custom drawing.
|
|
|
15
|
+ // An empty implementation adversely affects performance during animation.
|
|
|
16
|
+ override func draw(_ rect: CGRect) {
|
|
|
17
|
+ // Drawing code
|
|
|
18
|
+ }
|
|
|
19
|
+ */
|
|
|
20
|
+
|
|
|
21
|
+}
|