摘要: 继承UISearchBar. 重载setShowCancelButton.[super xxx]; ...for (UIView *subview in self.subview) {if (subview isKindeOfClass:UIButton.class]) {cancelButton * = (UIButton*) subview;break;} 阅读全文
posted @ 2013-09-22 13:15 韦韦韦 阅读(255) 评论(0) 推荐(0)