#
今天就跟大家聊聊有關(guān)UISearchController怎么在iOS 中使用,可能很多人都不太了解,為了讓大家更加了解,小編給大家總結(jié)了以下內(nèi)容,希望大家根據(jù)這篇文章可以有所收獲。一般用法在父控制器中
創(chuàng)建一個(gè)UISearchController 如果傳入的searchResultsController為nil,則表示搜索的結(jié)果在當(dāng)前控制器中顯示,現(xiàn)在我讓它在searchResultVC中顯示