Skip to content

Commit

Permalink
[Fix]跳过按钮距顶部距离修改 CoderZhuXH#260
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanson committed Oct 17, 2022
1 parent df8a95d commit 7ae25d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XHLaunchAd/XHLaunchAd/XHLaunchAdButton.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ - (instancetype)initWithSkipType:(SkipType)skipType{
if (self) {

_skipType = skipType;
CGFloat y = XH_FULLSCREEN ? 44 : 20;
CGFloat y = [[UIApplication sharedApplication] statusBarFrame].size.height;
self.frame = CGRectMake(XH_ScreenW-80,y, 70, 35);//方形
switch (skipType) {
case SkipTypeRoundTime:
Expand Down

0 comments on commit 7ae25d8

Please sign in to comment.