pickzy.com

C  |  C++  |  Objective-C  |  VC++  |  Win32  |  MFC  |  Java  |  Php  |  Delphi  |  Visual Basic  |  .Net  |  Networking  |  General  |  Games  |  Jobs  |  Javascript  |  




Menu

pickSourcecode.com


        

 




 

C > Solution

 

iPhone Development/Memory Leaks using UITextField ResignFirstResponder

Topic : iPhone Development/Memory Leaks using UITextField ResignFirstResponder ?

I also ran into this problem and solved it by substituting my UITextField.text with @"" (empty string) before I call the ResignFirstResponder method. Worked for me, hope it works for you...

eg,

/* Before clearing the textfield store the text to another String variable */

inputCurPlayerName.text = @"";
[inputCurPlayerName resignFirstResponder];

 
Privacy Policy | About Us