hello,
i have an UIImagePickerView where a show the camera of the iphone, then when user taped on the screen (with recognizer) i add a subview to let the user to write a text in a textView :
Code:
[picker.view writeView.view];
where picker is UIImagePickerView and writeView is WriteViewController
on the WriteViewController on viewDidLoad, i add [texteView becomeFirstResponder]; to show the keyboard
i add the
Code:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
// Return YES for supported orientations
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
}
The pb is that the keyboard is not fixed on landscape orientation! and what i want is to fix the keyboard in landscape mode in the view of WriteViewController. what can i do?