project_files/HedgewarsMobile/Classes/InGameMenuViewController.m
changeset 4358 0445d807193e
parent 4008 d87619de120d
child 4861 91f889289a47
equal deleted inserted replaced
4356:d1d26f8963a3 4358:0445d807193e
   183 }
   183 }
   184 
   184 
   185 #pragma mark -
   185 #pragma mark -
   186 #pragma mark actionSheet methods
   186 #pragma mark actionSheet methods
   187 -(void) actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger) buttonIndex {
   187 -(void) actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger) buttonIndex {
   188     if (IS_IPAD()){
   188     if (IS_IPAD() == NO){
   189         CGRect screen = [[UIScreen mainScreen] bounds];
   189         CGRect screen = [[UIScreen mainScreen] bounds];
   190         [UIView beginAnimations:@"table width less" context:NULL];
   190         [UIView beginAnimations:@"table width less" context:NULL];
   191         [UIView setAnimationDuration:0.2];
   191         [UIView setAnimationDuration:0.2];
   192         self.view.frame = CGRectMake(screen.size.height-200, 0, 200, 170);
   192         self.view.frame = CGRectMake(screen.size.height-200, 0, 200, 170);
   193         [UIView commitAnimations];
   193         [UIView commitAnimations];