fix for popOverMenu on iPad

Change-Id: I31180bfe086b339ad0b11ad28e770bdf3335d423
This commit is contained in:
Siqi LIU
2013-08-07 12:49:03 +08:00
parent 735ea45671
commit ca367bd5f8
3 changed files with 3 additions and 1 deletions

View File

@@ -492,6 +492,7 @@ static BOOL isBlank = NO;
break;
case 1:
[self.comManager.transmitter gotoSlide:0];
break;
case 2:
if (!isBlank){
[self.comManager.transmitter blankScreen];
@@ -499,6 +500,7 @@ static BOOL isBlank = NO;
[self.comManager.transmitter resume];
}
isBlank = !isBlank;
break;
default:
break;
}

View File

@@ -288,7 +288,7 @@
sectionHeader.font = [UIFont boldSystemFontOfSize:18];
sectionHeader.textColor = [UIColor darkTextColor];
sectionHeader.text = sectionName;
sectionHeader
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, tableView.bounds.size.width, [self tableView:tableView heightForHeaderInSection:section])];
[view addSubview:sectionHeader];