Tab Bar and UISearchController giving black screen

后端 未结 6 840
温柔的废话
温柔的废话 2021-01-07 20:36

I have two scenes which can be accessed through a tab bar, on scene 1 there is a search bar. the problem that I am facing is that while searching if I switch to the download

6条回答
  •  悲哀的现实
    2021-01-07 21:10

    This is because there is probably no separate navigation controller for the tab that gives you a black screen on back. For maintaining the navigation hierarchy seperately, you should embed a uinavigationcontroller to the uiviewcontroller and from IB check Top Bar as opaque navigation bar instead of Inferred. Hope this helps. Cheerio

提交回复
热议问题