Swiftgram/submodules/Display/Display/StatusBarHost.swift
2019-10-22 19:08:44 +04:00

16 lines
434 B
Swift

import UIKit
import SwiftSignalKit
public protocol StatusBarHost {
var statusBarFrame: CGRect { get }
var statusBarStyle: UIStatusBarStyle { get set }
var keyboardWindow: UIWindow? { get }
var keyboardView: UIView? { get }
var isApplicationInForeground: Bool { get }
func setStatusBarStyle(_ style: UIStatusBarStyle, animated: Bool)
func setStatusBarHidden(_ value: Bool, animated: Bool)
}