加载中
JavaScript 上滑,下滑

<script src="http://test.data.ent.sina.com.cn/js/jquery-1.7.1.min.js"></script> <body id="aa"></body> <script> (function(a){ a.fn.touchwipe=function(c){ var b={ ...

2014/03/17 15:24
387
UIImageView 添加点击事件

// 默认不开始用户点击事件 _image.userInteractionEnabled = YES; // 声明手势 UITapGestureRecognizer *imageTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selecto...

2014/03/16 20:09
262
ios 学习总结之截图

OS的截图都会想到按住唤醒键加HOME键,我要说的截图是类似于QQ截图。 首先我们要绘制虚线选框: 那我们就要获取手指触摸屏幕的起始点,那我们就要用到的方法是: -(void)touchesBegan:(NSSet...

2014/03/04 09:18
442
NSUserDefaults的使用

NSUserDefaults的使用 2011-07-12 15:21:55| 分类: iphone_dev_note|举报|字号 订阅 用户轻量级的数据持久化,主要用于保存用户程序的配置等信息,以便下次启动程序后能恢复上次的设置。 该...

2014/02/15 22:25
455
UITableView Cell 间隔线颜色长度

_tableView.separatorStyle = YES; [_tableView setSeparatorColor:[UIColor redColor]]; UIEdgeInsets inset; inset.left = 50; [_tableView setSeparatorInset:inset];...

2014/02/06 19:08
1.4K
NSDateFormatter 真机调试

+ (NSDate *) dateFromFomate:(NSString *)datestring formate:(NSString*)formate { NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; // 真机必须指定local否则返回null NS...

2014/02/05 11:39
161
RegexKitLite 编译错误

Undefined symbols for architecture i386: "_u_errorName", referenced from: _rkl_NSExceptionForRegex in RegexKitLite.o _rkl_makeNSError in RegexKitLite.o _rkl_userInfoDictionary i...

2014/02/04 11:26
289
iOS 清除编译缓存

shift + command + K plist 文件出现不同步问题,编辑器修改之后,模拟器目录未更新,困扰好久。

2014/02/01 21:31
212
iOS调用相册和摄像头

- (void)viewDidLoad { [super viewDidLoad];   // Do any additional setup after loading the view. UIImageView *imageView = [[UIImageView alloc] init]; imageV...

2013/10/08 09:11
3.6K
iOS设置系统语言

Localization native development region China Localized resources can be mixed YES

2013/10/07 21:14
288

没有更多内容

加载失败,请刷新页面

返回顶部
顶部