Skip to content

Commit

Permalink
编写百度开屏注释
Browse files Browse the repository at this point in the history
  • Loading branch information
fengchuanxiang committed May 21, 2016
1 parent f1ce35c commit fbc918b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ FCXDefine里面写了一些常用的宏定义,FCXCategory文件夹有常用的


##开屏广告
##百度开屏
导入`AppDelegate+BS.h、AppDelegate+BS.m`文件;然后在`setupS``publisherId`函数修改里面三个个地方
###百度开屏
导入`AppDelegate+BS.h、AppDelegate+BS.m`文件;然后分别在`setupS``publisherId`两个函数里面共修改三个地方
* 1.修改时间(这个时间每次提交AppStore都要修改,时间修改为审核提交日往后退15天),这里的时间是为了用户第一次下载启动时获取不了友盟参数,这时默认不显示开屏广告,为了收益在获取不到参数时显示开屏.
```objc
showSplash = ([currentDateString compare:@"2016-04-26"] == NSOrderedDescending);
Expand All @@ -77,7 +77,7 @@ splash.AdUnitTag = [FCXOnlineConfig fcxGetConfigParams:@"BD_AdID" defaultValue:@
return [FCXOnlineConfig fcxGetConfigParams:@"BD_AppID" defaultValue:@"ccb60059"];
```
##广点开屏
###广点开屏
全开屏导入`AppDelegate+GS.h、AppDelegate+GS.m`文件;半开屏导入`AppDelegate+HalfGS.h、AppDelegate+HalfGS.m`文件,然后在`setupS`函数修改里面两个地方:
* 1.修改时间(这个时间每次提交AppStore都要修改,时间修改为审核提交日往后退15天),这里的时间是为了用户第一次下载启动时获取不了友盟参数,这时默认不显示开屏广告,为了收益在获取不到参数时显示开屏.
```objc
Expand Down

0 comments on commit fbc918b

Please sign in to comment.