🔍 An elegant search controller which replaces the UISearchController for iOS (iPhone & iPad) .
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
iDwyane opened this issue 5 years ago · comments
同一个项目中用多个 PYSearchViewController ,就会记住同样的搜索历史记录,但是是不同的搜索界面
@iDwyane 只需要设置下面的属性,自定义搜索记录缓存路径就可以区分开了。
/** The path of cache search record, default is `PYSEARCH_SEARCH_HISTORY_CACHE_PATH`. */ @property (nonatomic, copy) NSString *searchHistoriesCachePath;