Swift 3 Local Notifications - Setting Automatic Timezone
<p>So this worked flawlessly in Swift 2 but in Swift 3 it has problems:</p>

<pre><code>func myNotifications () {
    let interval = 2.0
    var daysOut = 2.0
    let myArray =getArray()
    for i in 0..&lt;myArray.count {
        let message = ("\(myArray[i])\n-\(myArray[i])")
        let localNotification = UILocalNotification()
        localNotification.fireDate = Date(timeIntervalSinceNow: (60*60*24*daysOut))
        localNotification.alertBody = message
        localNotification.timeZone = NSTimeZone.autoupdatingCurrent
        localNotification.category = "Message"
        UIApplication.shared.scheduleLocalNotification(localNotification)
        daysOut += interval
    }

    let arrayCount = Double(myArray.count)
    let lastNotif_Date = Date(timeIntervalSinceNow: (60*60*24*interval*(quoteCount+1)))
    userPref_NSDefault.set(lastNotif_Date, forKey: "notification_EndDate")
}
</code></pre>

<p>Specifically, this line no longer works which is a big deal because I have users in multiple timezones and I want to make sure this works:</p>

<pre><code>  localNotification.timeZone = NSTimeZone.autoupdatingCurrent
</code></pre>

<p>I get the error message: </p>

<blockquote>
  <p>Type "NSTimeZone" has no member "autoUpdatingCurrent"</p>
</blockquote>

<p>Any ideas? I tried "timeZone.automatic", ".automatic", and some other variations but haven't been able to figure it out.</p>