Commit 6ca801924d21fa54f1e2a598cc091372126609a2
1 parent
467fce62
no message
Showing
1 changed file
with
3 additions
and
2 deletions
CNLiveScioLive/Pages/Live/Controller/GraphicLiveViewController.m
| ... | ... | @@ -185,7 +185,7 @@ |
| 185 | 185 | UIButton *shareButton = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 186 | 186 | [shareButton addTarget:self action:@selector(shareButton:) forControlEvents:UIControlEventTouchUpInside]; |
| 187 | 187 | [shareButton setImage:[UIImage imageNamed:@"cnlive_live_share"] forState:UIControlStateNormal]; |
| 188 | - [shareButton setFrame:CGRectMake(MainScreenWidth-44, StatusBarHeight, 44, 44)]; | |
| 188 | + [shareButton setFrame:CGRectMake(MainScreenWidth-40, StatusBarHeight+7, 30, 30)]; | |
| 189 | 189 | [self.view addSubview:shareButton]; |
| 190 | 190 | |
| 191 | 191 | } |
| ... | ... | @@ -255,7 +255,8 @@ |
| 255 | 255 | |
| 256 | 256 | //////////////// 分享 //////////////// |
| 257 | 257 | UIButton *shareButton = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 258 | - shareButton.frame = CGRectMake(MainScreenWidth-35, 20, 25, 41); | |
| 258 | + shareButton.backgroundColor = [UIColor redColor]; | |
| 259 | + [shareButton setFrame:CGRectMake(MainScreenWidth-40, StatusBarHeight+7, 30, 30)]; | |
| 259 | 260 | [shareButton setImage:[UIImage imageNamed:@"cnlive_live_share"] forState:UIControlStateNormal]; |
| 260 | 261 | [shareButton addTarget:self action:@selector(shareButton:) forControlEvents:UIControlEventTouchUpInside]; |
| 261 | 262 | [bgView addSubview:shareButton]; | ... | ... |