質問編集履歴
2
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -34,9 +34,9 @@
|
|
34
34
|
present(imageCropVC, animated: true)
|
35
35
|
|
36
36
|
|
37
|
-
let
|
37
|
+
let buttonset = Buttonset()
|
38
|
-
imageCropVC.delegate =
|
38
|
+
imageCropVC.delegate = buttonset
|
39
|
-
self.delegate =
|
39
|
+
self.delegate = buttonset
|
40
40
|
}
|
41
41
|
}
|
42
42
|
```
|
@@ -49,7 +49,7 @@
|
|
49
49
|
import RSKImageCropper
|
50
50
|
|
51
51
|
|
52
|
-
class
|
52
|
+
class Buttonset: UIViewController, UIImagePickerControllerDelegate, RSKImageCropViewControllerDelegate {
|
53
53
|
|
54
54
|
|
55
55
|
func imageCropViewController(_ controller: RSKImageCropViewController, didCropImage croppedImage: UIImage, usingCropRect cropRect: CGRect, rotationAngle: CGFloat) {
|
1
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
```swift
|
6
6
|
|
7
7
|
import UIKit
|
8
|
-
import
|
8
|
+
import RSKImageCropper
|
9
9
|
|
10
10
|
class UserDataInputViewController: UIViewController, UIImagePickerControllerDelegate {
|
11
11
|
|