Skip to content

Commit 2c3cc0f

Browse files
committed
Removed apparently-troublesome check for __IPHONE_8_3 macro. Assume SDK newer than this.
1 parent e8c87ea commit 2c3cc0f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

TPKeyboardAvoiding/TPKeyboardAvoidingTableView.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,12 @@ -(void)dealloc {
4848
}
4949

5050
-(BOOL)hasAutomaticKeyboardAvoidingBehaviour {
51-
#if defined(__IPHONE_8_3)
5251
if ( [self.delegate isKindOfClass:[UITableViewController class]] ) {
5352
// Theory: Apps built using the iOS 8.3 SDK (probably: older SDKs not tested) seem to handle keyboard
5453
// avoiding automatically with UITableViewController. This doesn't seem to be documented anywhere
5554
// by Apple, so results obtained only empirically.
5655
return YES;
5756
}
58-
#endif
5957

6058
return NO;
6159
}

0 commit comments

Comments
 (0)