V5.0.0bug修复
This commit is contained in:
-4
@@ -19,8 +19,4 @@
|
||||
@property (strong, nonatomic) MBProgressHUD *progressAlert;
|
||||
@property (nonatomic,strong) IfishCameraModel *camera;
|
||||
|
||||
-(void)removeObViserFromSelf;
|
||||
|
||||
-(void)addObViserFromSelf;
|
||||
|
||||
@end
|
||||
|
||||
-16
@@ -28,10 +28,8 @@ static NSString *bootomRecCellIdentifier = @"IfishRecVideoViewCell";
|
||||
- (instancetype)initWithFrame:(CGRect)frame {
|
||||
self = [super initWithFrame:frame];
|
||||
if (self) {
|
||||
//[self addObViserFromSelf];
|
||||
[self setCollectionFrame:frame];
|
||||
|
||||
|
||||
}
|
||||
return self;
|
||||
}
|
||||
@@ -39,26 +37,12 @@ static NSString *bootomRecCellIdentifier = @"IfishRecVideoViewCell";
|
||||
|
||||
-(void)dealloc{
|
||||
|
||||
//[[NSNotificationCenter defaultCenter] removeObserver:self name:ACK_RECEIVE_REMOTE_MESSAGE object:nil];
|
||||
// [[NSNotificationCenter defaultCenter] removeObserver:self name:RECEIVE_REMOTE_MESSAGE object:nil];
|
||||
if (_progressAlert) {
|
||||
|
||||
_progressAlert =nil;
|
||||
}
|
||||
}
|
||||
|
||||
-(void)removeObViserFromSelf{
|
||||
////录制回放功能打开
|
||||
// [[NSNotificationCenter defaultCenter] removeObserver:self name:ACK_RECEIVE_REMOTE_MESSAGE object:nil];
|
||||
//[[NSNotificationCenter defaultCenter] removeObserver:self name:RECEIVE_REMOTE_MESSAGE object:nil];
|
||||
|
||||
}
|
||||
|
||||
-(void)addObViserFromSelf{
|
||||
|
||||
//[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(ack_receiveRemoteMessage:) name:ACK_RECEIVE_REMOTE_MESSAGE object:nil];
|
||||
//[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveRemoteMessage:) name:RECEIVE_REMOTE_MESSAGE object:nil];
|
||||
}
|
||||
|
||||
-(void)setCollectionFrame:(CGRect)frame{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user