本文背景公司新项目要求抓取目前市面上一些热门App的数据,经过研究发现很多App的网络请求都使用https进行数据传输,这样问题就来了,http使用明文传输所有请求都能拦截到,而https请求无法拦截。所以这里我们要使用Charles来抓取https,但是笔者看了网上很多使用iOS设备进行抓取https的文章,经测试iOS8/10/11均无法进行正常抓取,即使信任证书也不行。经过笔者的不断尝试,终
分类:
移动开发 时间:
2018-09-17 17:43:41
阅读次数:
168
- (void)viewDidLoad { [super viewDidLoad]; // 添加控件等操作 [self.customsTableView reloadData]; dispatch_async(dispatch_get_main_queue(),^{ if (self.customs ...
分类:
其他好文 时间:
2018-09-11 16:14:37
阅读次数:
163
self.tableHeaderView.frame = CGRectMake(0, 0, JYEScreenWidth, self.userInfoView.frame.size.height + frame.size.height + self.footerView.frame.size.hei ...
分类:
其他好文 时间:
2018-09-03 15:34:50
阅读次数:
825
重写tableView所在控制器的 viewDidLayoutSubviews 方法,在此方法里面做滚动操作。 -(void)viewDidLayoutSubviews{ NSIndexPath *indexPath = [NSIndexPath indexPathForRow:9 inSectio ...
分类:
微信 时间:
2018-08-29 14:36:48
阅读次数:
292
第一种方式(普通): // 定义编辑样式 - (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath { return ...
分类:
移动开发 时间:
2018-08-18 16:32:38
阅读次数:
938
摘要: 1、UITableViewCell的重用机制描述一下? 2、UITableView相关的数据源同步问题,即如何在tableview解决多线程情况下,数据的处理? 3、是否遇到过卡顿和掉帧的问题,如何解决的,为什么出现卡顿和掉帧的问题? 4、绘制绘制&异步绘制、什么是离屏渲染 5、图像显示的原 ...
分类:
移动开发 时间:
2018-08-08 13:45:43
阅读次数:
282
问题: IOS8.2 dispaly:flex;不生效; 注意一下兼容写法的顺序问题, display: -webkit-box; /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */ display: -webkit-box; /* Chrome 4+, Saf ...
分类:
移动开发 时间:
2018-08-07 13:00:50
阅读次数:
643
1、自定义非等高 Cell介绍 1.1 代码自定义(frame) 新建一个继承自 UITableViewCell 的类。 重写 initWithStyle:reuseIdentifier: 方法。 添加所有需要显示的子控件(不需要设置子控件的数据和 frame, 子控件要添加到 contentVie ...
分类:
其他好文 时间:
2018-08-05 14:25:52
阅读次数:
134
在 iOS 8.0 以上版本中, 我们可以使用 UISearchController 来非常方便地在 UITableView 中添加搜索框. 而在之前版本中, 我们还是必须使用 UISearchDisplayController + UISearchBar 的组合方式。 我们创建的 tableVie ...
分类:
其他好文 时间:
2018-08-05 14:25:20
阅读次数:
177