views:

99

answers:

1

Is there a way to make a UIWebView dismiss all associated input controls, such as keyboards/pickers?

A: 
    for (UIWindow *keyboardWindow in [[UIApplication sharedApplication] windows])
    for (UIView *keyboard in [keyboardWindow subviews])

        if([[keyboard description] hasPrefix:@"<UIFormAssistant"] == YES)
        {
            [keyboard removeFromSuperview];
        }

Dirty way but it works ;)

flagman