-Code setzen:Wie Verlaufsfarbe für statusbar
extension UIApplication {
class var statusBarBackgroundColor: UIColor? {
get {
return (shared.value(forKey: "statusBar") as? UIView)?.backgroundColor
} set {
(shared.value(forKey: "statusBar") as? UIView)?.backgroundColor = newValue
}
}
}
UIApplication.statusBarBackgroundColor = .blue
Ich versuche zu setzen Farbverlauf für Statusleiste alone.How Code geändert werden Gradienten colour.any Hilfe eingestellt werden appreciated.THANKS im voraus sein
Haben Sie nur Statusleiste oder statusbar + Navigationsleiste bedeuten? – Hexfire
statusbar nur .. –