iOS 11 UIRefreshControl with NavigationBar LargeTitle and SearchController disappearing

前端 未结 3 782
我寻月下人不归
我寻月下人不归 2021-01-07 22:54

I have a navigationBar with largeTitle and searchcontroller and my tableView has a refreshcontrol.

When I pull to refresh the activityIndicator of refreshcontrol di

3条回答
  •  北海茫月
    2021-01-07 23:33

    Try to use this code snippet:

    self.navigationController?.navigationBar.prefersLargeTitles = false
    self.navigationController?.navigationBar.prefersLargeTitles = true;
    

提交回复
热议问题