Developer Area

Changeset 201 for apps/iphone/my.tel

Show
Ignore:
Timestamp:
01/28/09 14:37:37 (6 years ago)
Author:
henri
Message:

Cleaner refresh when removing keyboard

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • apps/iphone/my.tel/trunk/Classes/KeywordEditController.m

    r170 r201  
    9595    [[[(UIViewController *)caller view] layer] addAnimation:animation forKey:@"kEditAnimation"]; 
    9696         
    97 //    [UIView setAnimationDelegate:self]; 
    98 //    [UIView setAnimationDidStopSelector:@selector(animationDidStop:animationIDfinished:finished:context:)]; 
    99 //    [UIView beginAnimations:nil context:nil]; 
    100 //    [UIView setAnimationDuration:kKTransitionDuration]; 
    101 //     
    102 //    [UIView setAnimationTransition:(UIViewAnimationTransitionFlipFromLeft) 
    103 //                                                 forView:[(UIViewController *)caller view] cache:YES]; 
    104 //      [[(UIViewController *)caller view] addSubview:self.view]; 
    105 //    [UIView commitAnimations]; 
    10697} 
    10798 
     
    240231    [[NSNotificationCenter defaultCenter] addObserver:self 
    241232                                                                                         selector:@selector(keyboardWasHidden:) 
    242                                                                                                  name:UIKeyboardDidHideNotification object:nil]; 
     233                                                                                                 name:UIKeyboardWillHideNotification object:nil]; 
    243234} 
    244235 
     
    268259 
    269260 
    270 // Called when the UIKeyboardDidHideNotification is sent 
     261// Called when the UIKeyboardWillHideNotification is sent 
    271262- (void)keyboardWasHidden:(NSNotification*)aNotification 
    272263{ 
Telnic
Search This Site
Partners
Neustar
ICANN
Main site | WHOIS | Sell .tel | FAQ | Archived Site | About Telnic | Contact Us