Top "Uialertcontroller" questions

An iOS class, for displaying alerts and popup style selectors.

What is the best way to check if a UIAlertController is already presenting?

I have a tableview which, when loaded, each cell could possibly return an NSError, which I have chosen to display …

ios uialertcontroller
Add Image to UIAlertAction in UIAlertController

I have seen a couple screen shots of a UIAlertControllers with an image on the left of the row but …

ios uialertcontroller
UIAlertView/UIAlertController iOS 7 and iOS 8 compatibility

I am using Swift to write an app and I need to show an alert. The app must be iOS 7 …

ios swift uialertview uialertcontroller
'UIAlertView' was deprecated in iOS 9.0. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead

I have see more so answers , but nothing helped.Here is my older alert and action for that override func …

ios swift uialertview uialertcontroller
AlertController is not in the window hierarchy

I've just created a Single View Application project with ViewController class. I would like to show a UIAlertController from a …

ios swift storyboard uialertview uialertcontroller
Is there any way to add UIPickerView into UIAlertController (Alert or ActionSheet) in Swift?

I'm totally new to swift (and iOS programming at all), but I started messing around with it (it wasn't a …

ios swift uipickerview uialertcontroller
How to add actions to UIAlertController and get result of actions (Swift)

I want to set up a UIAlertController with four action buttons, and the titles of the buttons to be set …

ios xcode swift uialertcontroller
How to dismiss UIAlertController when tap outside the UIAlertController?

How to dismiss UIAlertController when tap outside the UIAlertController? I can add a UIAlertAction of style UIAlertActionStyleCancel to dismiss the …

ios uialertview uialertcontroller
how to use UIAlertController

I am trying to use this code in a Pacman game I got from some website but had to change …

ios objective-c swift uialertview uialertcontroller
Show alert in AppDelegate in Swift

I try the next code snippet: var alert = UIAlertController(title: "Alert", message: "Cannot connect to : \(error!.localizedDescription)", preferredStyle: UIAlertControllerStyle.Alert) …

ios swift uialertcontroller