Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

iOS 5 UITableView seems to not be doing keyboard avoiding any more: R…

…emoved exception.
  • Loading branch information...
commit aae140e5be46f95cbdb349f9622997ccd3bc9983 1 parent 709b08c
@michaeltyson authored
Showing with 0 additions and 14 deletions.
  1. +0 −14 TPKeyboardAvoidingTableView.m
View
14 TPKeyboardAvoidingTableView.m
@@ -25,26 +25,12 @@ - (void)setup {
-(id)initWithFrame:(CGRect)frame {
if ( !(self = [super initWithFrame:frame]) ) return nil;
-
- if ( [[[UIDevice currentDevice] systemVersion] floatValue] >= 4.3 ) {
- // Not required above iOS 4.3! Just return an ordinary table view
- [self release];
- return (self = [[UITableView alloc] initWithFrame:frame]);
- }
-
[self setup];
return self;
}
-(id)initWithCoder:(NSCoder *)aDecoder {
if ( !(self = [super initWithCoder:aDecoder]) ) return nil;
-
- if ( [[[UIDevice currentDevice] systemVersion] floatValue] >= 4.3 ) {
- // Not required above iOS 4.3! Just return an ordinary table view
- [self release];
- return (self = [[UITableView alloc] initWithCoder:aDecoder]);
- }
-
[self setup];
return self;
}

0 comments on commit aae140e

Please sign in to comment.
Something went wrong with that request. Please try again.