|
@@ -269,7 +269,7 @@
|
|
|
}
|
|
|
|
|
|
-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch{
|
|
|
- if ([touch.view isDescendantOfView:self.chatAreaView] || [touch.view isDescendantOfView:self.videoListView] || [touch.view isDescendantOfView:self.maskView] || [touch.view isDescendantOfView:self.wBoardCtrl.customWebView.refreshButton] || [touch.view isDescendantOfView:self.danView]) {
|
|
|
+ if ([touch.view isDescendantOfView:self.chatAreaView] || [touch.view isDescendantOfView:self.videoListView] || [touch.view isDescendantOfView:self.maskView] || [touch.view isDescendantOfView:self.wBoardCtrl.customWebView.refreshButton] || [touch.view isDescendantOfView:self.danView] || [touch.view isDescendantOfView:self.titleView]) {
|
|
|
return NO;
|
|
|
}
|
|
|
// if ([touch.view isDescendantOfView:self.wBoardCtrl.wbView] || [touch.view isDescendantOfView:self.wBoardCtrl.customWebView] || [touch.view isDescendantOfView:self.containerView]) {
|
|
@@ -305,7 +305,6 @@
|
|
|
case ClassTitleViewActionTagMicrophone:
|
|
|
{
|
|
|
if (tagButton.isSelected == NO) {
|
|
|
- tagButton.isSelected = YES;
|
|
|
[[ClassroomService sharedService] enableDevice:NO withType:DeviceTypeMicrophone];
|
|
|
}
|
|
|
else {
|
|
@@ -314,7 +313,6 @@
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- tagButton.isSelected = NO;
|
|
|
[[ClassroomService sharedService] enableDevice:YES withType:DeviceTypeMicrophone];
|
|
|
}
|
|
|
}
|
|
@@ -323,11 +321,9 @@
|
|
|
{
|
|
|
if (tagButton.isSelected == NO) {
|
|
|
|
|
|
- tagButton.isSelected = YES;
|
|
|
[[ClassroomService sharedService] enableDevice:NO withType:DeviceTypeCamera];
|
|
|
}
|
|
|
else {
|
|
|
- tagButton.isSelected = NO;
|
|
|
[[ClassroomService sharedService] enableDevice:YES withType:DeviceTypeCamera];
|
|
|
}
|
|
|
}
|