From 5ca78661b1f57aee500a4d9e5d6a22b5c3e17731 Mon Sep 17 00:00:00 2001 From: Oystein Eftevaag Date: Sun, 27 Jul 2008 10:15:57 +0000 Subject: The iPhone backend is now (mostly) up to speed again, and works for firmware 2.0 svn-id: r33326 --- backends/platform/iphone/iphone_keyboard.m | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'backends/platform/iphone/iphone_keyboard.m') diff --git a/backends/platform/iphone/iphone_keyboard.m b/backends/platform/iphone/iphone_keyboard.m index dc2d417746..bd4948e30a 100644 --- a/backends/platform/iphone/iphone_keyboard.m +++ b/backends/platform/iphone/iphone_keyboard.m @@ -25,19 +25,6 @@ #import "iphone_keyboard.h" -// Override settings of the default keyboard implementation -@implementation UIKeyboardImpl (DisableFeatures) - -- (BOOL)autoCapitalizationPreference { - return false; -} - -- (BOOL)autoCorrectionPreference { - return false; -} - -@end - @implementation TextInputHandler - (id)initWithKeyboard:(SoftKeyboard*)keyboard; { @@ -67,7 +54,8 @@ @implementation SoftKeyboard - (id)initWithFrame:(CGRect)frame { - self = [super initWithFrame:frame]; + //self = [super initWithFrame:frame]; + self = [super initWithFrame:CGRectMake(0.0f, 0.0f, 0.0f, 0.0f)]; inputDelegate = nil; inputView = [[TextInputHandler alloc] initWithKeyboard:self]; return self; -- cgit v1.2.3