I create the UITextField like normal: txtName = [[UITextField alloc] initWithFrame: CGRectMake(160, 240, 200, 32)]; I add it to the subview like so: [[[CCDirector sharedDirector] openGLView] addSubview: txtName]; The problem I'm having is that, when I change the orientation to PortraitUpsideDown with this command: [[CCDirector sharedDirector] setDeviceOrientation:CCDeviceOrientationPortraitUpsideDown]; the UITextField and the keyboard don't change with the new orientation. When I click on the text box, the keyboard appears upside down and on the top of the screen. I know I can change the rotation of the UITextField using CGAffineTransformMakeRotation, but how do I make the keyboard appear upright and at the bottom of the screen when in PortraitUpsideDown orientation? When I detect an orientation change, in addition to setting the Director's device orientation like so: [[CCDirector sharedDirector] setDeviceOrientation:CCDeviceOrientationPortraitUpsideDown]; I...
iPhone Top Tips is for developers who are working on iPhone Application Development or Games Development. I post here my past experience and new techniques which will useful for you guys.