- 博客(3)
- 收藏
- 关注
原创 UITableView Plain下的section取消顶部粘连
UITableView Plain下的section取消顶部粘连 // 取消顶部粘连 CGFloat sectionHeaderHeight = Adapter(10); if (scrollView.contentOffset.y <= sectionHeaderHeight && scrollView.contentOffset.y>=0) { scrollVi
2015-10-30 15:44:01 310
转载 查看IOS沙盒中文件的属性(修改日期,创建日期,大小等)
NSString *strPath =[[NSBundle mainBundle] pathForResource:@"lomo.jpg" ofType:nil]; NSLog(@"path:%@", strPath); NSFileManager *fileManager = [NSFileManager defaultManager]; NSStrin
2015-10-28 14:40:14 393
转载 UIWebView的应用与其与JS的混编
iOS中偶尔也会用到webview来显示一些内容,比如新闻,或者一段介绍。但是用的不多,现在来教大家怎么使用js跟webview进行交互。 这里就拿点击图片获取图片路径为例: 1.测试页面html html> head> head> body> div> img src="test.png"/> div>
2015-08-05 10:22:03 210
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人