回答編集履歴

2

妄想

2017/04/06 00:14

投稿

fuzzball
fuzzball

スコア16731

test CHANGED
@@ -1,3 +1,13 @@
1
- (deleted)
1
+ これでどうでしょうか?
2
2
 
3
3
 
4
+
5
+ ```swift
6
+
7
+ let decodedData = Data(base64Encoded: dict["image"], options: .ignoreUnknownCharacters)
8
+
9
+ let decodedImage = UIImage(data: decodedData)
10
+
11
+ ```
12
+
13
+

1

2017/04/06 00:14

投稿

fuzzball
fuzzball

スコア16731

test CHANGED
@@ -1,9 +1,3 @@
1
- ```swift
1
+ (deleted)
2
-
3
- dict["image"] as! String
4
-
5
- ```
6
2
 
7
3
 
8
-
9
- でどうでしょうか?