for (UIView *view in _searchBar.subviews) {
if ([view isKindOfClass:NSClassFromString(@"UIView")]&&view.subviews.count>0) {
[[view.subviews objectAtIndex:0]removeFromSuperview];
break;
}
for (UIView *view in _searchBar.subviews) {
if ([view isKindOfClass:NSClassFromString(@"UIView")]&&view.subviews.count>0) {
[[view.subviews objectAtIndex:0]removeFromSuperview];
break;
}