Type UNUserNotificationCenter has no member current, swift 2.3
<p>In iOS10 User notifications were reworked by apple. 
Now I am trying to adjust my app to these changes, following <a href="https://www.hackingwithswift.com/ios10" rel="nofollow">this</a>:</p>

<pre><code>let center = UNUserNotificationCenter.current()
</code></pre>

<p>gives me an error:</p>

<pre><code>Type UNUserNotificationCenter has no member current, swift 2.3
</code></pre>

<p>I know that that tutorial is maybe for swift3. But I need to make it work in swift 2.3. Is it even feasible and if yes, how to do it?</p>