We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
非常感谢大大无私的奉献,让我学到很多东西,在此有两个小疑问想问问
在课件提到的两个地方 1, contentOffset.y += searchDisplayController!.searchBar.frame.size.height
2, func searchDisplayController(controller: UISearchDisplayController, shouldReloadTableForSearchString searchString: String!) -> Bool { fliteredTodos = todos.filter(){$0.title.rangeOfString(searchString) != nil} return true }
都提示 searchDisplayController 和 UISearchDisplayController 在IOS8 中被弃用,这里应该如何修改呢?
谢谢大大
The text was updated successfully, but these errors were encountered:
请使用UISearchController,但是要支持iOS 7的话需要注意一下,我的做法是iOS9出来时,我的app只支持iOS8,然后把这些API都升级。
谢谢 Jake
2015-05-11 17:28 GMT+10:00 x1911 notifications@github.com:
非常感谢大大无私的奉献,让我学到很多东西,在此有两个小疑问想问问 在课件提到的两个地方 1, contentOffset.y += searchDisplayController!.searchBar.frame.size.height 2, func searchDisplayController(controller: UISearchDisplayController, shouldReloadTableForSearchString searchString: String!) -> Bool { fliteredTodos = todos.filter(){$0.title.rangeOfString(searchString) != nil} return true } 都提示 searchDisplayController 和 UISearchDisplayController 在IOS8 中被弃用,这里应该如何修改呢? 谢谢大大 — Reply to this email directly or view it on GitHub #3.
— Reply to this email directly or view it on GitHub #3.
Sorry, something went wrong.
No branches or pull requests
非常感谢大大无私的奉献,让我学到很多东西,在此有两个小疑问想问问
在课件提到的两个地方
1,
contentOffset.y += searchDisplayController!.searchBar.frame.size.height
2,
func searchDisplayController(controller: UISearchDisplayController, shouldReloadTableForSearchString searchString: String!) -> Bool {
fliteredTodos = todos.filter(){$0.title.rangeOfString(searchString) != nil}
return true
}
都提示 searchDisplayController 和 UISearchDisplayController 在IOS8 中被弃用,这里应该如何修改呢?
谢谢大大
The text was updated successfully, but these errors were encountered: