Cannot use optional chaining on non-optional value of type 'Auth'
问题 var loggedInUser: User? let storageRef = Storage.storage().reference() let databaseRef = Database.database().reference() // structure definition goes here override func viewDidLoad() { super.viewDidLoad() self.loggedInUser = Auth.auth()?.currentUser//Cannot use optional chaining on non-optional value of type 'Auth' self.databaseRef.child("user_profiles").child(self.loggedInUser!.uid).observeSingleEventOfType(.Value) { (snapshot:DataSnapshot) in //'observeSingleEventOfType(_:withBlock:)' has