Reloading UITableView behind UISearchDisplayController

前端 未结 9 2102
南旧
南旧 2021-02-07 11:26

I\'ve run into this really strange phenomenon that I can\'t quite figure out. I have a UITableViewController that manages a UITableView. Pretty simple. I also have a UISearch

9条回答
  •  北荒
    北荒 (楼主)
    2021-02-07 12:06

    Because of using UITableViewController. self.view is a TableView in the UITableViewController and SearchDisplayController's ContainerView is added to the self.view of UITableViewController. Just use UIViewcontroller.

提交回复
热议问题