Hi...I have an UIButton, which logs the content that is present in a couple of UITextField's.But when I click on this UIButton thrice, the simulator hangs and the debugger is opened. Can someone tell me why is this happening. It happens only when there is content in UITextFields.
+1
A:
Without seeing your code it's hard to diagnose, but it sorta sounds like you are releasing something you shouldn't be. The first two times the object is still valid, but the third time might make an object's retain count zero, and therefore prematurely deallocate it. Check the IBAction method for your UIButton and make sure you aren't releasing things that you haven't explicitly allocated.
dreamlax
2009-08-27 06:37:55
Thank you very much
Felix
2009-08-27 13:15:05