Top "Uialertview" questions

UIAlertView, a class contained in Apple's UIKit framework, was used to display an alert to the user.

How would I create a UIAlertView in Swift?

I have been working to create a UIAlertView in Swift, but for some reason I can't get the statement right …

ios swift cocoa-touch uialertview uialertcontroller
UIAlertController custom font, size, color

I am using new UIAlertController for showing alerts. I have this code: // nil titles break alert interface on iOS 8.0, so …

ios objective-c ios8 uialertview uialertcontroller
Adding a simple UIAlertView

What is some starter code I could use to make a simple UIAlertView with one "OK" button on it?

ios objective-c iphone cocoa-touch uialertview
How to add an action to a UIAlertView button using Swift iOS

I want to add another button other than the "OK" button which should just dismiss the alert. I want the …

ios uialertview swift
UIAlertView first deprecated IOS 9

I have tried several ways to use UIAlertController,instead of UIAlertView. I tried several ways but I cannot make the …

ios objective-c uialertview uialertcontroller
Writing handler for UIAlertAction

I'm presenting a UIAlertView to the user and I can't figure out how to write the handler. This is my …

ios uialertview swift uialertcontroller
Display UIViewController as Popup in iPhone

Since there is no complete, definitive answer to this common recurring question, I'll ask and answer it here. Often we …

ios iphone uiviewcontroller popup uialertview
UIAlertView addSubview in iOS7

Adding some controls to UIAlertView was deprecated in iOS7 using addSubview method. As I know Apple promised to add contentView …

ios objective-c uialertview ios7
How to disable copy paste option from UITextField programmatically

I am making a registration alertview that has a UITextField in it where the user can enter their registration number. …

ios iphone uitextfield uialertview copy-paste
How to add a TextField to UIAlertView in Swift

I have this code, but I dont know how to show a textfield inside the UIAlertView. var altMessage = UIAlertController(title: "…

ios uialertview swift