Re: My alert is not firing at all
Re: My alert is not firing at all
- Subject: Re: My alert is not firing at all
- From: Jack Carbaugh <email@hidden>
- Date: Sat, 26 Dec 2015 07:15:29 -0500
Is it connected to the interface ? if you’re tapping the button and it’s not working, first place to look is to see if the button is connected to the action.
> On Dec 26, 2015, at 7:11 AM, Roland King <email@hidden> wrote:
>
> What do you mean by it doesn’t fire? It doesn’t show the alert, or it doesn’t do anything after it shows the alert when you hit the dismiss button?
>
> I wrote code very similar to this today .. with an extra button or two, and it was fine.
>
>> On 26 Dec 2015, at 19:40, Scott Berry <email@hidden> wrote:
>>
>> Hello there,
>>
>> Here is the code I wrote to fire off my alert but when I run the program on the device the alert doesn’t want to fire so I am wondering what I have done wrong. I use Voiceover.
>>
>> // Alert Message for first load.
>> @IBAction func buttonTapped(sender: AnyObject) {
>> let alertController = UIAlertController(title: "First Run Database Alert", message:
>> "Welcome to Flying With Voice! Please allow us to gather some airport information. Talking Technologies is not responsible if you do not allow us to gather this information every 56 (fifty-six) days.", preferredStyle: UIAlertControllerStyle.Alert)
>> alertController.addAction(UIAlertAction(title: "Dismiss", style: UIAlertActionStyle.Default,
>> handler: nil))
>>
>> self.presentViewController(alertController, animated: true, completion: nil)
>> }
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden