xcode7更新之后使用真机调试,在IOS8的一台Iphone5手机上面没什么问题,IOS8的一台iphone6也没问题。但是在IOS6的一台Iphone4s和 IOS7的ipad air2上面在最后安装的时候居然安装失败,提示 There was an internal API error. 然后 ...
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ DLJobLogTableViewCell *cell = [tableView deque ...
分类:
其他好文 时间:
2016-06-15 12:17:33
阅读次数:
127
一. 目的: 实现UITableViewCell上按钮点击事件可以进行页面跳转. 二. 实现方法: 1. 用协议的方式的实现. 2. 需要自定义UITableViewCell. 三. 代码部分. cell.h中 cell.m中 controller.m中 ...
分类:
移动开发 时间:
2016-06-14 23:40:03
阅读次数:
670
影响 UITableView 滚动的流畅性的原因 1、在代理方法中做了过多的计算占用了 UI 线程的时间 2、Cell里的图片吃GPU(在tableView:cellForRowAtIndexPath:中) 3、Cell 中 view 的组织复杂 关于第一点,首先要明白 tableview 的代理( ...
分类:
其他好文 时间:
2016-06-14 19:15:30
阅读次数:
241
(原本取至D了个L微信公众号) UITableView 详解 一、建立 UITableView DataTable = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, 320, 420)];[DataTable setDelegate:self ...
分类:
其他好文 时间:
2016-06-13 21:48:00
阅读次数:
156
在伯乐在线上看到一个挺好玩的文章,自己也参考文章实现了一下。 效果实现如图所示: 具体实现的内容可以参考原文,参考文章:《iOS 类似美团外卖 app 两个 tableView 联动效果实现》 首先,从界面上来看,很显然是两个UITableview上下滑动的效果。而这种滑动的效果核心是左边的tabl ...
分类:
移动开发 时间:
2016-06-13 18:35:27
阅读次数:
311
tableView加载完毕后回调的delegate方法: -(void) tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)index ...
分类:
编程语言 时间:
2016-06-13 15:18:11
阅读次数:
249
#import <AddressBook/AddressBook.h> ...
分类:
移动开发 时间:
2016-06-12 23:23:31
阅读次数:
263
NSArray *array = [self.tableVeiw visibleCells];//获取正在使用的 cell for (UITableViewCell *cell in array) { UIButton *buton = (UIButton *)[cell viewWithTag:1 ...
分类:
其他好文 时间:
2016-06-12 18:24:56
阅读次数:
144
这里将imageView的大小设为40*40的。 ...
分类:
其他好文 时间:
2016-06-12 18:10:33
阅读次数:
157