会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lisen_李森
博客园
首页
新随笔
联系
订阅
管理
1
2
3
下一页
2017年5月27日
UIWebView 滑动卡停 (卡顿)
摘要: 在进入的 h5 中加个 这个就好了 body{-webkit-overflow-scrolling: touch;overflow-scrolling: touch;}
阅读全文
posted @ 2017-05-27 17:11 lisen_李森
阅读(865)
评论(0)
推荐(0)
2016年4月17日
https-->http
摘要:
阅读全文
posted @ 2016-04-17 09:03 lisen_李森
阅读(157)
评论(0)
推荐(0)
2015年9月23日
UITapGestureRecognizer 手势传值
摘要: - (void)setImageArray:(NSArray *)imageArray{ self.count = count; // 1.添加图片到scrollView中 for (int i = 0; i < count; i++) { U...
阅读全文
posted @ 2015-09-23 11:46 lisen_李森
阅读(2621)
评论(0)
推荐(0)
2015年9月21日
ios8 新特性 UITableViewRowAction
摘要: // 原滑动删除方法,需保留 override func tableView(tableView: UITableView, commitEditingStyle editingStyle: UITableViewCellEditingStyle, forRowAtIndexPath indexPa...
阅读全文
posted @ 2015-09-21 14:42 lisen_李森
阅读(484)
评论(0)
推荐(0)
2015年9月8日
unrecognized selector sent to instance出现的原因
摘要: UILabel.text = NSNubmer;NSNubmer 不能复制给 UILabel.text
阅读全文
posted @ 2015-09-08 19:39 lisen_李森
阅读(175)
评论(0)
推荐(0)
2015年8月25日
iOS 界面上绘制不同字体 颜色 大小的字符串
摘要: NSMutableAttributedString *str = [[NSMutableAttributedString alloc] initWithString:@"Using NSAttributed String"]; //颜色-范围 [str addAttribute:NSForegr...
阅读全文
posted @ 2015-08-25 16:49 lisen_李森
阅读(483)
评论(0)
推荐(0)
NSNumberFormatter 数字格式化输出
摘要: 最近搞数据展示,需要将数字展示为用千分号分割的字符串,让我好找呀,结果还是被我找到了。在iOS中我们可以通过NSDateFormatter来设置输出NSDate的格式。相比NSDateFormatter的大名鼎 鼎,NSNumberFormatter好像知道的人就不多了。其实通过NSNumberFo...
阅读全文
posted @ 2015-08-25 15:40 lisen_李森
阅读(2408)
评论(0)
推荐(0)
2015年8月20日
iOS开发-63】Unknown type name "CGRect",did you mean "Rect"?的解决方案
摘要: 出现这个问题的童鞋,几乎都是因为用了Xcode6。原因:在Xcode6之前,创建的文件系统会自动为用户导入Foundation.h和UIKit.h文件,但是最新的Xcode6只为用户导入了Foundation.h文件,缺少一个。所以,解决方案是:自己在头文件部分导入即可:#import 这个问题,g...
阅读全文
posted @ 2015-08-20 17:11 lisen_李森
阅读(179)
评论(0)
推荐(0)
2015年8月19日
收起键盘
摘要: 在UIViewController中收起键盘, 除了调用相应控件的resignFirstResponder 方法外, 还有另外三种办法:1. 重载 UIViewController 中的 touchesBegin方法, 然后在里面执行 [self.view endEdiiting: YES]; 这样...
阅读全文
posted @ 2015-08-19 15:46 lisen_李森
阅读(128)
评论(0)
推荐(0)
2015年8月14日
iOS8 【xcode6中添加pch全局引用文件】
摘要: 前沿:xcode6中去掉了pch,为了一些琐碎的头文件引用,加快了 编译速度!xcode6之前的版本建项目就自动添加了是这样的:xcode6后的版本要自己手动的添加步骤如下:1) 2)3) $(SRCROOT)/pchFile.pch这样就ok了!--------------------------...
阅读全文
posted @ 2015-08-14 16:29 lisen_李森
阅读(166)
评论(0)
推荐(0)
1
2
3
下一页
公告