• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
My alert is not firing at all
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

My alert is not firing at all


  • Subject: My alert is not firing at all
  • From: Scott Berry <email@hidden>
  • Date: Sat, 26 Dec 2015 04:40:48 -0700

	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


  • Follow-Ups:
    • Re: My alert is not firing at all
      • From: Roland King <email@hidden>
  • Prev by Date: NSScroll view - horizontal scroll bar does not appear when swiping across screen
  • Next by Date: Re: My alert is not firing at all
  • Previous by thread: NSScroll view - horizontal scroll bar does not appear when swiping across screen
  • Next by thread: Re: My alert is not firing at all
  • Index(es):
    • Date
    • Thread