Avspeechsynthesizer reading local notification

My goal is to create a app that will read the local notification to the user using avspeechsynsthisizer. I have tried this many times with messing around with app delegate which I do not know well, To try to get this to work. My main question right now is, To do this am I going to have to add something or change appdelegate or not. Thanks.

Hi @timswift

In the iOS 10 all those notifications related methods in the AppDelegate are deprecated. Instead you should use a new UNUserNotificationCenterDelegate protocol. Please take a look at this article - http://cleanswifter.com/ios-10-local-notifications/. It explains the subject quite well.
Also there is a demo project -
I hope this is helpful.


This topic was automatically closed after 166 days. New replies are no longer allowed.