1

I wanna to remove white inputAccessoryView of UIWebView when load contenteditable text in iO7.

I can remove it by UIWebBrowserView by the code:

-(id)inputAccessoryView{
  return nil;
}

But this way use private-API and not pass validation

I also try something like this question but not work.

Is there any better way? Thanks!

Community
  • 1
  • 1
LE SANG
  • 10,955
  • 7
  • 59
  • 78

1 Answers1

1

See my answer here. Our app uses this method and is in the store.

I dynamically create a class that is a subclass of UIWebDocumentView that has an implementation of inputAccessoryView which returns nil.

Community
  • 1
  • 1
Léo Natan
  • 56,823
  • 9
  • 150
  • 195