回答編集履歴
1
コードの修正
answer
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
}
|
12
12
|
if let document = querySnapshot.documents.first {
|
13
13
|
self.NameLabel.text = uid
|
14
|
-
self.NameLabel.text = document.data()["user_name"]
|
14
|
+
self.NameLabel.text = document.data()["user_name"] as? String ?? ""
|
15
15
|
}
|
16
16
|
}
|
17
17
|
```
|