- (void) searchBarSearchButtonClicked:(UISearchBar *)theSearchBar
{
isSearching = YES;
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSInteger conf=[[[NSUserDefaults standardUserDefaults] objectForKey:@"Deepak_ConfId"] intValue];
NSInteger PersonId = [[defaults objectForKey:@"DEEpak_UserId"] intValue];
//Service method
[dataService GetAllPresentationsv2:conf Date:@"" TrackID:@"-1" Tittle:presentationtitleStr Location:@"" Speaker:@"" Keyword:@"" Moderator:@"" PersonID:PersonId tTTypeId:CategorieId];
}
-(BOOL)searchDisplayController:(UISearchDisplayController *)controller
shouldReloadTableForSearchString:(NSString *)searchString
{
presentationtitleStr = [searchString copy];
return YES;
}
enter code here
我在完整数组中检查搜索时获取数据。但是当我点击清除默认搜索栏按钮时显示虚假alredy显示数据滚动时间崩溃和beyod界限它显示数据是什么问题我不打算请帮助我...