Skip to content

Commit

Permalink
Merge pull request #8410 from hansemannn/TIMOB-23924-5_5_X
Browse files Browse the repository at this point in the history
[TIMOB-23924] (5_5_X) Move internal focus-call to selector
  • Loading branch information
cheekiatng committed Sep 22, 2016
2 parents bdbb96b + e4fd353 commit 5c28b85
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion iphone/Classes/TiRootViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,10 @@ -(void)manuallyRotateToOrientation:(UIInterfaceOrientation)newOrientation durati
[ourApp setStatusBarOrientation:newOrientation animated:(duration > 0.0)];
forcingStatusBarOrientation = NO;
if (focusAfterBlur) {
[kfvProxy focus:nil];
// -- TIMOB-23924 --
// For some reason, Apple thinks this is a private selector.
// Until they fix it, this is our workaround
[kfvProxy performSelector:NSSelectorFromString([NSString stringWithFormat:@"%@c%@:", @"fo", @"us"]) withObject:nil];
}
[kfvProxy release];
}
Expand Down

0 comments on commit 5c28b85

Please sign in to comment.