Questions tagged [alertview]
85 questions
0
votes
2 answers
How to set time delay for displaying the alertview from one after another From an array?
How to set time delay for displaying the alertview from one after another From an array? I have 5 alertview in an array.. Each alertview will Display after Some time duration.
for (NSDictionary *temp in [RMUserDefaults…

Purushothaman
- 106
- 1
- 1
- 6
0
votes
1 answer
UIAlertView with textfield do no show fields
I am trying to create a UIAlertView which allows you to write comments but the fields do not appear on the AlertView. here the code:
UIAlertView *prompt = [[UIAlertView alloc] initWithTitle:@"Your opinion"
…
user6172761
0
votes
1 answer
How do I switch to another ViewController with perform segue via AlertView?
How do I change to another view controller when the alert view appears? ideally when I press the 'OK' button I want it to programatically change to another view controller.
The following function is what I need to implement:
func…

Gurvier Singh Dhillon
- 137
- 2
- 11
0
votes
1 answer
UIAlertView Button Clicked Methods
In my email composer I would like for the result of 'cancelbuttonclicked' to close the MFMailComposerViewController. Can I implement within the switch statement or do those need to be separate methods. Also, I would like for the send button to send…

Michael Castro
- 314
- 4
- 14
0
votes
1 answer
Make a class comprises of the functions like UIAlertView, UIActivityIndicator and call them back in various viewControllers
This is my current code:
import UIKit
class classViewController: UIViewController {
// The function i want to call in other view controllers..
func alertView(title: String, message: String) {
var alert:UIAlertController =…

Akshay Kheveria
- 201
- 1
- 15
0
votes
2 answers
iphone - custom UIAlertView block effect
I am making a custom alertView similar like standard alertView in iOS.
for making block effect , I did this
UIView * backgroundView = [[UIView alloc] initWithFrame: CGRectMake(0, 0, screenWidth, screenHeight)];
backgroundView.backgroundColor =…

석진영
- 243
- 4
- 13
0
votes
1 answer
show Alertview even when App is inactive
I just saw that it's anyhow possible to show AlertViews from the Background on HomeScreen.
This was triggered by the App "UP by Jawbone"
Does anyone know how to do this?

Michael
- 1,030
- 14
- 29
0
votes
2 answers
AlertView button to specific ViewController
I am looking at how to do an AlertView that when the button "OK" is pressed it takes you to a specific View Controller called DiveNumberViewController.
I have the AlertView code done (see below) but can't figure out how to have the OK button to the…

Scubadivingfool
- 1,227
- 2
- 10
- 23
0
votes
1 answer
Alert Error and Dynamically show hidden UILabel
I have 2 different problems ,
I have a Label which is hidden in the viewDidLoad() and later i'm trying to set the hidden value false but its not working .
Trying to show alert but getting this error "Terminating app due to uncaught exception…

Raquibul Islam
- 182
- 1
- 12
0
votes
1 answer
show message to specific day with repetition
I want to always display a certain day one Alert view, for example, should always come 8.00 Note the clock on Monday .... so if I state the app and it's Monday 9:00 you will get the alert view, and every Monday
my code to determine the day…

Heisenberg
- 113
- 1
- 8
0
votes
1 answer
Called delegate in AlertView
I need to use AlertView because it is also compatible with iOS7.
I tried to make this code in my UITableViewController:
func alertView(View: UIAlertView, clickedButtonAtIndex buttonIndex: Int) {
println("in alertView")
switch buttonIndex {
…

Stephany
- 994
- 1
- 7
- 18
0
votes
1 answer
swift alertview textfield - how to retrieve the text entered
I'm showing an alert view to be able to rename a Book when selected. I am Having issues retrieving the input from the user.
here is my code:
override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
…

awallraff
- 17
- 1
- 3
0
votes
1 answer
how to pass boolean from an alertview to a custom tableview cell in swift
***UPDATED: Yay! it works now!***I've been looking around for hours but have not found exactly what I need to figure this out. There are a few answers out there using objective c but I am trying out Swift and I can't seem to get the code to…

IWannaLearn
- 55
- 1
- 9
0
votes
2 answers
iOS Confirm UIAlertView in "Are you sure?" Setting App
I need a data reset switch my application, I'd like to put it in Settings->Apps->MyAppName section of iOS. Being a destructive action I want iOS to prompt the user for confirmation. Is there a way to display an alertview style confirmation box from…

Scaroth
- 187
- 1
- 11
0
votes
1 answer
Swift Error while trying to print variable from alert-view textfield
I have this code here that runs an alertview and shows a textfield asking for the subject name
alertController.addAction(UIAlertAction(title: "Ok", style: .Default, handler:{ (alertAction:UIAlertAction!) in
var textf=…

Richard Beattie
- 293
- 1
- 3
- 17