Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Is there any way to change the background color of the scroller on iOS 9?

$
0
0

I'm trying to change the background color of the HTML select element from the default dark gray on iOS 9 to white. I stumbled across this Phonegap/Cordova plugin: https://github.com/EddyVerbruggen/iOSWebViewColor-PhoneGap-Plugin but I'm not having much luck making it work. Any one else able to get this working on iOS 9?

I tried the sample code in my Ionic project, but there's no effect.

window.plugins.webviewcolor.change('#FFFFFF')

Here's what I've tried:

  • Modifying theWebView.backgroundColor on line 107 in
    MainViewController.m
  • Modifying the MainViewController.xib file and unchecking Opaque.
  • Modifying the Objective-C code of the Cordova plugin to force
    [UIColor whiteColor]

Nothing works.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>