alertview Controller (Swift 4 )


  
                let alertController = UIAlertController(title: "Name not provided", message: "Provide a name to the story", preferredStyle: .alert)
                let action = UIAlertAction(title: "ok", style: .default, handler: nil)
                alertController.addAction(action)
                present(alertController, animated: true, completion: nil)
                

Previous
Next Post »