how do I change the label “No Results”, when using a searchDisplayController?
Regards
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s not directly accessible, so you’ll have to do it the old fashioned way and manually sift through the subviews of your
searchDisplayController.searchResultsTableView. Here’s one example:I wouldn’t recommend this since you’re relying on internal behavior of the
searchResultsTableViewwhich is more than likely going to change at some point, breaking your app. Opening a bug/feature request with Apple would be a good way to go here.