Cocos2dUtilities
Utilities developed by HurleyProg for use with Cocos2d
|
#import <CCTextFieldCentererScene.h>
A subclass of CCScene which implements the UITextFieldDelegate When any UITextField is touched, (assuming this class is assigned as the delegate) CCTextFieldCentererScene will automatically center the field above the keyboard.
NOTE: Only tested in cocos2d applications that are always in landscape mode.