Verwenden von Xcode 8 und Swift 2.3.Swift Änderung der Statusleistenhöhe
In meiner App, wenn ich WhatsApp Anruf oder aktivieren Hotspot,
Statusleiste Höhe ändert und Ausrichtung wird geändert.
Wie aktualisiere ich den Bildschirm, wenn Statusleiste Höhe ändert,
So wird Bildschirm angepasst.
Ich stieß auf diese zwei Delegierten Methoden, aber keine Ahnung, wie man das für meine Anforderung verwendet.
func application(application: UIApplication, didChangeStatusBarFrame oldStatusBarFrame: CGRect)
{
print("Frame Change old")
}
func application(application: UIApplication, willChangeStatusBarFrame newStatusBarFrame: CGRect)
{
print("Frame Change new")
}