This commit is contained in:
lianxiang
2018-09-08 09:53:51 +08:00
parent dc959b8ec0
commit fdee3e47f4
4 changed files with 23 additions and 17 deletions
@@ -26,7 +26,7 @@
#import "GiGaFlyingCommitInputView.h"
#import "GiGaFlingCommitVC.h"
#import "MaskTimeCircularProgressView.h"
#import "UINavigationBar+Custom.h"
//#import "UINavigationBar+Custom.h"
@interface GiGaMaskTaskViewController ()<MaskCirCularProGressViewDelegate>
{
@@ -150,7 +150,8 @@
#pragma mark - 生命周期
-(void)viewWillAppear:(BOOL)animated{
[super viewWillAppear:animated];
//取消导航对内容下移影响
[self.navigationController.navigationBar setTranslucent:YES];
}
@@ -176,7 +177,7 @@
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
self.automaticallyAdjustsScrollViewInsets = NO;
[self setUpNav];
[self initUI];
[self addNotify];
@@ -331,7 +332,7 @@
#pragma mark 开始面膜时间
-(void)startMaskTime{
//[self createInputView]; //出现弹幕
[self createInputView]; //出现弹幕
AppDelegate *delegate =(AppDelegate *) [[UIApplication sharedApplication] delegate];
if (delegate.isMasking) {
return;
@@ -341,7 +342,7 @@
[self setBackGroundPlayingInfo];//锁屏音频信息
//总时间隔 s
NSTimeInterval timeInterVal = 10;
NSTimeInterval timeInterVal = 30;
[self.cicleProgressView startWith:timeInterVal];
//底部弹窗
@@ -500,7 +501,6 @@
[rightBtn addTarget:self action:@selector(rightBtnAction) forControlEvents:UIControlEventTouchUpInside];
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:rightBtn];
[self.navigationController.navigationBar cnSetBackgroundColor:GIGARGB(216, 216, 216, 1)];
}
#pragma mark 消息 action