Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-23924] (6_0_X) Move internal focus-call to selector #8409

Merged
merged 1 commit into from
Sep 22, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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