- (void)applicationDidEnterBackground:(UIApplication *)application {
for (UIWindow *keyboardWindow in [[UIApplication sharedApplication] windows]) {
if ([[keyboardWindow description] hasPrefix:@"<UITextEffectsWindow"] == YES) {
[keyboardWindow resignFirstResponder];
}
}
}
No comments:
Post a Comment