Commit 3ca04084 authored by luyueming's avatar luyueming

增加精准曝光

parent 0f746d78
......@@ -8,7 +8,7 @@ platform :ios, '8.0'
target 'GMRefresh_Example' do
pod 'GMRefresh', :path => '../'
# pod 'GMPhobos', :git => 'git@git.wanmeizhensuo.com:gengmeiios/GMPhobos.git', :commit => 'ed064ed2'
pod 'GMPhobos', :git => 'git@git.wanmeizhensuo.com:gengmeiios/GMPhobos.git', :commit => 'ed064ed2'
target 'GMRefresh_Tests' do
inherit! :search_paths
......
......@@ -37,7 +37,7 @@
- (void)executeRefreshingCallback
{
// 上拉数据时,页面上拉次数++
// self.pageCtrl.up_loading_times++;
self.pageCtrl.up_loading_times++;
dispatch_async(dispatch_get_main_queue(), ^{
MJRefreshHeader *header = _scrollView.mj_header;
......
......@@ -99,8 +99,8 @@
- (void)executeRefreshingCallback
{
// 下拉加载时,页面下拉次数++,同时将当前数据进行上报
// self.pageCtrl.down_loading_times++;
// [[GMExposureManager sharedManager] endExpoTrcakerForPageCtrl:self.pageCtrl];
self.pageCtrl.down_loading_times++;
[[GMExposureManager sharedManager] endExpoTrcakerForPageCtrl:self.pageCtrl];
dispatch_async(dispatch_get_main_queue(), ^{
MJRefreshFooter *footer = _scrollView.mj_footer;
if (footer && [footer isRefreshing]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment