Skip to content

Instantly share code, notes, and snippets.

@AHubanov
AHubanov / UIWebView+AccessoryHiding.m
Created March 27, 2012 16:15 — forked from bjhomer/UIWebView+AccessoryHiding.m
Hiding the inputAccessoryView of a UIWebView
#import <objc/runtime.h>
#import <UIKit/UIKit.h>
@interface UIWebView (HackishAccessoryHiding)
@property (nonatomic, assign) BOOL hackishlyHidesInputAccessoryView;
@end
@implementation UIWebView (HackishAccessoryHiding)
static const char * const hackishFixClassName = "UIWebBrowserViewMinusAccessoryView";