标签:skin arc bar views button arch sub nbsp field
UISearchBar *searchBar;
for (UIView *subview in [searchBar.subviews firstObject].subviews) {
if ([subview isKindOfClass:[UITextField class]]) {
UITextField *searchField = (UITextField *)subview;
searchField.clearButtonMode = UITextFieldViewModeNever;
break;
}
}
标签:skin arc bar views button arch sub nbsp field
原文地址:http://www.cnblogs.com/Zerone-Lee/p/6895416.html