This is my array
var docData: [String: Any] = [
"timestamp":Int64(Date().timeIntervalSince1970 * 1000),
"photo": photo_uri,
"name": name.text ?? "
]
I would like to add the next item into the array ["email": email.text ?? ""]
The following does not work
docData += ["email": email.text ?? ""]