I'm using the InAppBrowser plugin with Cordova 3.0 but can't get the background color of the UIWebView to be transparent so I can see my app in the background. Most of the time people say some version of the following should handle what I'm trying to do:
self.view.backgroundColor = [UIColor clearColor];
self.view.opaque = NO;
But it's not working for me. No matter what I try the background behind my InAppBrowser view is black (i.e. I can't see my app in the background).
Can anyone help? Is there perhaps some code in the InAppBrowser plugin that is overriding the above code? I've cloned the plugin for now so you can see what I've tried: http://goo.gl/fsSXUC
Thanks in advance for any help/advice!
Update1
Using the presentationstyle=formsheet actually does accomplish the transparency I need but I need to control the UIWebView dimensions so I need to get a lower-level/core solution figured out.
Update2
Looks like I'm falling into a question that's been asked in different ways around StackOverflow (like: UIModalPresentationCurrentContext with Transition?). Guess I won't hold my breath for an answer here but please chime in if someone has a clean/simple solution here!