I am getting problem in making my application compatible with iphone 4.0
My problem is like this.
When i click on a UITextview a custom keyboard is showing
UIView *test=[[UIView alloc] initWithFrame:CGRectMake(0, 160, 320, 215)];
UIExtendedKeyBoard *objKeyBoard =[[UIExtendedKeyBoard alloc] initWithFrame:[test bounds]];
objKeyBoard.tag =1001;
[test addSubview:objKeyBoard];
[objKeyBoard release];
[vTxtPoem setInputView:test];
[test release];
but when i click on particular button i need to toggle between default key board and my custom key board….i am using the following code to do this
[vTxtPoem setInputView:nil];
but it is not working …even it is not showing default keyboard..it is still remain same custom keyboard. the control also coming to this line.
My first guess would be something like this: