Answer the question
In order to leave comments, you need to log in
iOS popup window how to implement?
Good day!
Interested in how to implement a pop-up window in the iOS SDK project.
The bottom line is that in my application on one of the ViewControllers there is a certain UIButton. It is necessary that by clicking on the UIButton a window pops up on top of my ViewController, so that it can then be minimized back with a swipe, or by pressing the return button.
Examples
1) TouchID verification in AppStore (iOS 11.x)
2) Opening video page in YouTube App
Thanks in advance for your reply!
Answer the question
In order to leave comments, you need to log in
doublench21 @doublench21 by
Dmitry Golovanov, https://developer.apple.com/ios/human-interface-gu...
Written 53 minutes ago
class MainViewController: UIViewController{
override func viewDidLoad() {
showModal()
}
func showModal() {
let modalViewController = ModalViewController()
modalViewController.modalPresentationStyle = .OverCurrentContext
present(modalViewController, animated: true, completion: nil)
}
}
class ModalViewController: UIViewController {
override func viewDidLoad() {
view.backgroundColor = UIColor.clear
view.isOpaque = false
}
}
https://www.cocoacontrols.com/controls/alertview
https://www.cocoacontrols.com/controls/bulletinboard
https://www.cocoacontrols.com/controls/biometricau...
And so on.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question