Change status bar background color in some view controllers - Swift -
i building ios app in swift , need change background color of status bar in view controllers. have been able change text color not able find way change background.
i allowing "view controller-based status bar appearance" yes , using
uiapplication.sharedapplication().statusbarstyle = .lightcontent
in viewdidload method.
any suggestions?
each view controller use preferredstatusbarstyle
rather on application
Comments
Post a Comment