会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
OIMM
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
34
35
36
37
38
39
40
41
42
···
44
下一页
2015年9月15日
分享新浪,QQ,微博,人人,twitter等等
该文被密码保护。
阅读全文
posted @ 2015-09-15 18:04 OIMMZC
阅读(6)
评论(0)
推荐(0)
2015年9月11日
设备类型
摘要: NSString*deviceType=[UIDevicecurrentDevice].model;NSLog(@"deviceType=%@",deviceType);//@"iphone"/@"ipod"/@"ipad"NSRangerange=[deviceTyperangeOfString:...
阅读全文
posted @ 2015-09-11 09:55 OIMMZC
阅读(200)
评论(0)
推荐(0)
隐藏虚拟键盘,解决键盘挡住UITextField问题
摘要: 再正式开始之前,先来介绍一下IOS的键盘类型:一、键盘风格UIKit框架支持8种风格键盘?12345678910typedef enum { UIKeyboardTypeDefault, // 默认键盘:支持所有字符 UIKeyboardTypeASCIICapable, // 支持ASCII的默认...
阅读全文
posted @ 2015-09-11 09:21 OIMMZC
阅读(349)
评论(0)
推荐(0)
2015年9月10日
短时间内不停访问一组数据,每次只取出一个时,需用懒加载
摘要: -(void)button{ NSArray *arrbutton=[LBZModelDataAll dataArrayFromModel:poet_list];// NSLog(@"%@",arrbutton); NSLog(@"%lu",(unsigned long)arrbutton.c...
阅读全文
posted @ 2015-09-10 17:20 OIMMZC
阅读(259)
评论(0)
推荐(0)
2015年9月9日
NSSearchPathForDirectoriesInDomains用法,文件创建
该文被密码保护。
阅读全文
posted @ 2015-09-09 15:20 OIMMZC
阅读(4)
评论(0)
推荐(0)
2015年9月7日
IOS中定时器NSTimer的开启与关闭
摘要: 调用一次计时器方法:myTimer=[NSTimerscheduledTimerWithTimeInterval:1.5target:selfselector:@selector(scrollTimer)userInfo:nilrepeats:NO];//不重复,只调用一次。timer运行一次就会自...
阅读全文
posted @ 2015-09-07 11:53 OIMMZC
阅读(239)
评论(0)
推荐(0)
搜索框代码块
摘要: #pragma mark UISearchBarDelegate 中可选实现的方法//执行searchBar代理方法(开始编辑)-(void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText{ //如果文...
阅读全文
posted @ 2015-09-07 09:33 OIMMZC
阅读(275)
评论(0)
推荐(0)
UINavigationController的popViewControllerAnimated问题
摘要: UINavigationController是IOS编程中的一个view controller的容器,通过栈管理viewControllers,每一次push操作都将在栈顶添加一个view controller,然后通过pop将该栈最顶端的controller移除。我们在工程中,通常会在contro...
阅读全文
posted @ 2015-09-07 09:17 OIMMZC
阅读(2790)
评论(0)
推荐(0)
2015年9月6日
视频播放
摘要: //// VideoViewController.m// LIBAOZHENG0826//// Created by 张艳锋 on 15/8/30.// Copyright (c) 2015年 张艳锋. All rights reserved.//#import "VideoViewControll...
阅读全文
posted @ 2015-09-06 16:59 OIMMZC
阅读(288)
评论(0)
推荐(0)
按钮,滑动条 点击隐藏,点击显现
摘要: static int z=0;-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ if (z==0) { self.view.backgroundColor=[UIColor blackColor]; _do...
阅读全文
posted @ 2015-09-06 16:45 OIMMZC
阅读(357)
评论(0)
推荐(0)
上一页
1
···
34
35
36
37
38
39
40
41
42
···
44
下一页
公告