hide status bar ios
override func viewWillAppear(animated: Bool) {
super.viewWillAppear(animated)
UIApplication.sharedApplication().setStatusBarHidden(true, withAnimation: UIStatusBarAnimation.None)
}
override func viewWillDisappear(animated: Bool) {
super.viewWillDisappear(animated)
UIApplication.sharedApplication().setStatusBarHidden(false, withAnimation: UIStatusBarAnimation.None)
}
Also in Swift:
- array length swift
- add buton border swift
- swift completion handler
- send email with swiftmailer symfony
- how to know when text changed textfield swiftui
- How to control the line spacing in UILabel
- disable commit editing style swift
- how to unwrap arrays with optional value in swift
- swift share with
- meu eclipse não gera a implementação do mapstruct
- loop backwards swift
- power swift
- deselect cell swift
- navigationviewcontroller setviewcontrollers swift
- get files with file type swift
- deselect all cell in collectionview
- xcode label rotate text
- swift get day from available string
- run a function only once swift
- alertdialog flutter
- change placeholder color swift
- ui alert swift yes no
- swift array to string
- ShareSheet: UIViewControllerRepresentable swiftui