質問編集履歴
2
コード修正しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -18,7 +18,8 @@
|
|
18
18
|
@IBAction func showImagePicker(_ sender: Any) {
|
19
19
|
var config = PHPickerConfiguration()
|
20
20
|
config.selectionLimit = 4
|
21
|
+
config.filter = .images
|
21
|
-
|
22
|
+
let picker = PHPickerViewController(configuration: config)
|
22
23
|
picker.delegate = self
|
23
24
|
present(picker, animated: true, completion: nil)
|
24
25
|
}
|
1
不要な部分を削除しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -31,20 +31,4 @@
|
|
31
31
|
picker.dismiss(animated: true, completion: nil)
|
32
32
|
}
|
33
33
|
}
|
34
|
-
```
|
34
|
+
```
|
35
|
-
エラーメッセージ
|
36
|
-
```
|
37
|
-
|
38
|
-
### 該当のソースコード
|
39
|
-
|
40
|
-
```ここに言語名を入力
|
41
|
-
ソースコード
|
42
|
-
```
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
ここに問題に対して試したことを記載してください。
|
47
|
-
|
48
|
-
### 補足情報(FW/ツールのバージョンなど)
|
49
|
-
|
50
|
-
ここにより詳細な情報を記載してください。
|