Commit 6ca801924d21fa54f1e2a598cc091372126609a2

Authored by zhangxiaowen
1 parent 467fce62

no message

CNLiveScioLive/Pages/Live/Controller/GraphicLiveViewController.m
@@ -185,7 +185,7 @@ @@ -185,7 +185,7 @@
185 UIButton *shareButton = [UIButton buttonWithType:UIButtonTypeCustom]; 185 UIButton *shareButton = [UIButton buttonWithType:UIButtonTypeCustom];
186 [shareButton addTarget:self action:@selector(shareButton:) forControlEvents:UIControlEventTouchUpInside]; 186 [shareButton addTarget:self action:@selector(shareButton:) forControlEvents:UIControlEventTouchUpInside];
187 [shareButton setImage:[UIImage imageNamed:@"cnlive_live_share"] forState:UIControlStateNormal]; 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 [self.view addSubview:shareButton]; 189 [self.view addSubview:shareButton];
190 190
191 } 191 }
@@ -255,7 +255,8 @@ @@ -255,7 +255,8 @@
255 255
256 //////////////// 分享 //////////////// 256 //////////////// 分享 ////////////////
257 UIButton *shareButton = [UIButton buttonWithType:UIButtonTypeCustom]; 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 [shareButton setImage:[UIImage imageNamed:@"cnlive_live_share"] forState:UIControlStateNormal]; 260 [shareButton setImage:[UIImage imageNamed:@"cnlive_live_share"] forState:UIControlStateNormal];
260 [shareButton addTarget:self action:@selector(shareButton:) forControlEvents:UIControlEventTouchUpInside]; 261 [shareButton addTarget:self action:@selector(shareButton:) forControlEvents:UIControlEventTouchUpInside];
261 [bgView addSubview:shareButton]; 262 [bgView addSubview:shareButton];