Pulling Data From Firebase Issue

后端 未结 3 1174
孤街浪徒
孤街浪徒 2021-01-25 00:51

Novice programmer, currently working on an ios app using firebase as our backend. I\'m trying to grab values from the firebase database to populate a TableView, but there are tw

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-25 01:39

    Can you try to change this:

    let sectionRef = FIRDatabase.database().reference().child(String(indexPath.section))
    

    to this:

    let sectionRef = FIRDatabase.database().reference(withPath: "Committee").child(String(indexPath.section))
    

提交回复
热议问题