摘要:
修改UISearchBar的背景颜色 UISearchBar是由两个subView组成的,一个是UISearchBarBackGround,另一个是UITextField. 要IB中没有直接操作背景的属性。方法是直接将 UISearchBarBackGround移去 seachBar=[[UISearchBar alloc] init]; seachBar.backgroundColor=[UIColor clearColor]; for (UIView *subview in seachBar.subviews) { if ([subview isKindOfClass:NSC... 阅读全文
posted @ 2014-01-18 15:38
shaneZhang
阅读(382)
评论(0)
推荐(0)

浙公网安备 33010602011771号