Open ferpintado opened 10 years ago
Thanks - glad to hear it!
Both of those things are possible yeah - but would take some tinkering. Honestly though for the background color thing I would use a shortcut and just use css classes on the app's main webview on the window.open and .close events rather than coloring it from objective C - but that's only because I am not really an Objective C programmer.
If you hack up a way though please do share/post about it!
Sent from my iPad
On Nov 8, 2013, at 7:59 PM, "ferpintado" notifications@github.com<mailto:notifications@github.com> wrote:
Hi. Fantastic plugin. Really helpful. I am wondering if there is a way to change the background color? And another question I got, is it possible to change the size and the position of the childbrowser when it is already rendered?
Thanks.
— Reply to this email directly or view it on GitHubhttps://github.com/cemerson/cordova-inappbrowser-ce/issues/4.
After a while diving into the code I could notice that inside the function createView was set the backgroundColor of the view as gray ( line number 772), being more specific: self.view.backgroundColor = [UIColor grayColor];
What I did and worked for what I wanted was change grayColor for whiteColor and fixed the issue I had
self.view.backgroundColor = [UIColor whiteColor];
Regards.
Hi. Fantastic plugin. Really helpful. I am wondering if there is a way to change the background color? And another question I got, is it possible to change the size and the position of the childbrowser when it is already rendered?
Thanks.