IOS笔记 搜索框
来源:互联网 发布:汉王手写软件下载 编辑:程序博客网 时间:2024/06/07 06:52
//搜索
UISearchBar *searchBarCustom = [[UISearchBaralloc]initWithFrame:CGRectMake(834,10 ,180,24)];
searchBarCustom.backgroundColor = [UIColorclearColor]; //修改搜索框背景
searchBarCustom.delegate=self;
searchBarCustom.placeholder=@"会员卡号";
[[searchBarCustom.subviewsobjectAtIndex:0]removeFromSuperview]; //去掉搜索框背景
for (UIView *subview in searchBarCustom.subviews) {
if ([subviewisKindOfClass:NSClassFromString(@"UISearchBarBackground")]) {
[subviewremoveFromSuperview];
break;
}
}
- IOS笔记 搜索框
- 【代码笔记】iOS-scrollerView里多个tableView加搜索框
- 【代码笔记】iOS-点击搜索按钮,或放大镜后都会弹出搜索框
- 自定义iOS搜索框
- ios开发搜索框
- iOS搜索框UISearchBar
- ios 搜索框
- iOS搜索框
- iOS 搜索框
- iOS 搜索框
- 仿IOS搜索框
- iOS 搜索框search bar开始搜索
- 搜索图标居中的搜索框~iOS风格搜索框
- ios 上弹搜索框
- iOS 导航栏上加搜索框
- iOS搜索框的实现
- iOS 搜索框之UISearchBar
- iOS中UISearchBar(搜索框)
- 关于IO转换流
- Java定时任务Timer
- Flex3 LineChart动态添加数据源(动态添加线)
- 日期判断昨天、今天、明天
- [Android实例] android登录Web以及登录保持,cookie管理相关
- IOS笔记 搜索框
- 用新浪jS接口取客户端IP 及位置
- PHP设计模式之单例模式
- DECLARE_MESSAGE_MAP()
- 输入框挡住键盘的解决办法
- postgreSql性能优化提升技巧指南
- 母版页和ifarme 之间的区别 .
- SQL Server 2005 大数据量数据存储设计思路分享
- mahout0.7 hadoop1.0.3 slf4j