project_files/HedgewarsMobile/Classes/HelpPageLobbyViewController.m
branchios-revival
changeset 11122 2b4e89e5203b
parent 11121 182a42b79610
child 12872 00215a7ec5f5
equal deleted inserted replaced
11121:182a42b79610 11122:2b4e89e5203b
    53     releaseAndNil(scrollView);
    53     releaseAndNil(scrollView);
    54     [super dealloc];
    54     [super dealloc];
    55 }
    55 }
    56 
    56 
    57 -(IBAction) dismiss {
    57 -(IBAction) dismiss {
    58     [UIView beginAnimations:@"dismiss help" context:NULL];
    58     [UIView animateWithDuration:0.5 animations:^{
    59     self.view.alpha = 0;
    59         self.view.alpha = 0;
    60     [UIView commitAnimations];
    60     } completion:^(BOOL finished){
    61     [self.view performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1];
    61         [self.view performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:0];
       
    62     }];
    62 }
    63 }
    63 
    64 
    64 @end
    65 @end