If no Table View results, display “No Results” on screen

后端 未结 14 1647
挽巷
挽巷 2020-11-30 17:25

I have a tableview, where sometimes there might not be any results to list, so I would like to put something up that says \"no results\" if the

14条回答
  •  误落风尘
    2020-11-30 17:44

    I would present a an overlay view that has the look and message you want if the tableview has no results. You could do it in ViewDidAppear, so you have the results before showing/not showing the view.

提交回复
热议问题