equal
deleted
inserted
replaced
148 SDL_iPhoneKeyboardShow(sdlwindow); |
148 SDL_iPhoneKeyboardShow(sdlwindow); |
149 } |
149 } |
150 break; |
150 break; |
151 case 2: |
151 case 2: |
152 // expand the view (and table) so that the actionsheet can be selected on the iPhone |
152 // expand the view (and table) so that the actionsheet can be selected on the iPhone |
153 if (IS_IPAD()) { |
153 if (IS_IPAD() == NO) { |
154 CGRect screen = [[UIScreen mainScreen] bounds]; |
154 CGRect screen = [[UIScreen mainScreen] bounds]; |
155 [self.tableView deselectRowAtIndexPath:indexPath animated:NO]; |
155 [self.tableView deselectRowAtIndexPath:indexPath animated:NO]; |
156 [UIView beginAnimations:@"table width more" context:NULL]; |
156 [UIView beginAnimations:@"table width more" context:NULL]; |
157 [UIView setAnimationDuration:0.2]; |
157 [UIView setAnimationDuration:0.2]; |
158 self.view.frame = CGRectMake(0, 0, screen.size.height, screen.size.width); |
158 self.view.frame = CGRectMake(0, 0, screen.size.height, screen.size.width); |