Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

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

$
0
0

@degamer106 wrote:

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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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