Skip to content

Commit

Permalink
发现添加顶部间距
Browse files Browse the repository at this point in the history
  • Loading branch information
fengchuanxiang committed Dec 16, 2016
1 parent 5c1ac36 commit 1c2fa8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FCXUniversial/FCXDiscover/FCXDiscoverViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
@property (nonatomic, copy) NSString *admobID;
@property (nonatomic, strong) UIColor *navBackColor;//!<导航条返回按钮颜色(没有默认取导航条的tinColor,再取不到为blackColor)
@property (nonatomic, strong, readonly) UIScrollView *scrollView;

@property (nonatomic, unsafe_unretained) CGFloat topSpace;

@end
2 changes: 1 addition & 1 deletion FCXUniversial/FCXDiscover/FCXDiscoverViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ - (void)showAllGroups {

_scrollView.contentInset = UIEdgeInsetsMake(0, 0, adHeight * 2, 0);

_offsetY = 10;
_offsetY = 10 + _topSpace;
int groupCount = [[FCXOnlineConfig fcxGetConfigParams:@"discover_groupCount"] intValue];
if (groupCount > 0) {
for (int i = 1; i <= groupCount; i++) {
Expand Down

0 comments on commit 1c2fa8e

Please sign in to comment.