views:

39

answers:

0

Hi all,

I've seen several posts with people having this issue but no solutions. Basically clicking a UITextField to show the keyboard for the first time eats up ~4mb of memory (according to the activity monitor) and I never get that memory back (and I need it back :P).

I know that UIKit will often take up a large chunk of memory for the duration of your runtime due to caching, etc but I have used the activity monitor to watch other apps and they don't seem to have this behavior with the keyboard, at least not as drastically.

My code to show the keyboard is all standard other than the fact that I'm adding the UITextField on top of the cocos2d OpenGL layer. I'm testing on the device.

Anyone have any ideas?