Questions tagged [alertview]

85 questions
0
votes
1 answer

Trying use an AlertView to push to another view controller

I'm having trouble programming an AlertView to push to a new ViewController. I've followed several tutorials and still have not been able to get it function properly. Any help would be appreciated. - (IBAction)web:(id)sender { UIAlertView…
0
votes
1 answer

Trying to transit to a new UIView once "Login" button is clicked in AlertView

I have searched for methods that allows me to transit to a new page once a button on alert view is clicked. Do I have to use the prepareForSegue method? Or is there any simpler method? -(void)alertView:(UIAlertView *)alertView…
-1
votes
1 answer

Display fullscreen alerts in iOS swift

How can I show full screen AlertViews in Swift. What I have done is added a UIView(custom alert view) on top of View controller in storyboard. Is there any other way to do it?
ios
  • 955
  • 1
  • 12
  • 35
-1
votes
1 answer

Keeping alert view active when the user leaves and re-enters the app without killing it

I have an alert view which the user get when they press the logout button where they can either choose to log out or cancel however with the alert view active if i leave the app and come back(without killing the app) the alert view disappears but i…
Umar Yaqub
  • 86
  • 1
  • 12
-1
votes
1 answer

Checking for Alerts Programmatically in iOS

I have Scenario like, I scheduled 2-3 alarms in my iPhone. Now I am running my app. When my app is executing, and if alarm has been triggered(or any other type of alert shown in my device), i want to know about that alert programmatically to App and…
Mehul Thakkar
  • 12,440
  • 10
  • 52
  • 81
-1
votes
1 answer

Detecting camera and using alert view

I'm trying to detect if the iOS device has a camera. I know there are ways to detect, but i need help making an alert, that if there is no camera, it will alert the user. Heres my code.... its down where it takes a pic #import…
Yomo710
  • 125
  • 9
-2
votes
2 answers

Query an popup/dialog in calabash android?

I see that you can query by alertview in ios but how do you query alerts in calabash android? I want to validate to see if this alert exists, can I do so with element_exists()?
-2
votes
2 answers

Access to Alert Button

I have implemented an alert like this: UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Time Over" message:@"Player Two won!" …
Chango
  • 17
  • 1
-2
votes
3 answers

How can I make it so only 1 "if-statement" is used if 2 are in the action

In a game... When the "done" button is pressed, there are 2 'if-statements': one brings you to the next level and the other returns you home. How can I make it so only one happens at a time? The way it works now, is both the winning and losing…
-3
votes
2 answers

Whats wrong with this code? (objective-c)?

-(void)otherGames { UIAlertView *alertMsg = [[UIAlertView alloc] initWithTitle:@"This gGame was Developed By:" message:@"Burhan uddin Raizada" delegate:nil cancelButtonTitle:@"Dismiss" otherButtonTitles: @"@twitter" , nil]; …
1 2 3 4 5
6