Hi,
I'm trying to use a keyboard in my app.
I'm displaying it with that code :
Code:
m_keyboard = [[[UIKeyboard alloc] initWithFrame: CGRectMake(0.0f, frame.size.height - 216.0f, frame.size.width, 216.0f)] autorelease];
[m_keyboard setTapDelegate: self];
[m_keyboard setDefaultReturnKeyType:7]; // send button
[m_keyboard setReturnKeyEnabled: YES];
[m_keyboard setPreferredKeyboardType: 1];
[m_keyboard activate];
[self addSubview: m_keyboard];
and that's showing.
But I can't get user inputs...
I tried to implement this method:
Code:
-(void)keyboardInput:(id)k shouldInsertText:(id)i isMarkedText:(int)b {
NSLog(@"keyDown");
}
But I can't get the "keyDown" message.
Any idea please?