Swiftgram/submodules/Display/Source/StatusBarHost.swift
2019-11-14 23:27: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)
}