iOS UISearchBar 在界面跳转时出现灰色背景问题

self.searchBar.backgroundImage = [[UIImage alloc]init];spa


在界面跳转过程当中搜索条后面会出现一个灰色的view 虽然很快就会消失,可是仍是很明显。3d

出现这个缘由是由于sarchbar自己带有一个backgeroundImage 这个自己是灰色的 咱们能够初始化一个空的image来取代它。orm

相关文章
相关标签/搜索