ios - Ionic statubar color not working -
i'm trying change font color white in statusbar ios, without success.
i have set in app.js:
if (window.statusbar) { // statusbar.styledefault(); statusbar.style(1); }
but not work. ideas?
these no such function style()
available on statusbar
object. these available on ngcordova version of plugin : $cordovastatusbar.style(1);
, here link ngcordova wrapper of plugin. plus still if not want use wrapper need add <preference name="statusbarstyle" value="lightcontent" />
in config.xml
. available values default, lightcontent, blacktranslucent, blackopaque.
Comments
Post a Comment