I am developing an iOS app which needs to play a customed sound to notify the user that he has received some money when the remote notification is received, I have seen some apps done this, but I don't know how to achieve this function.
The app which I know has done this is in the iOS 10 and later version. Is it the new function in iOS 10? Which system framework should I look into? Is it because the Notification Extension
? I have googled for some time only to find that the Notification Extension
can custom the UI which I don't need. Now I am really in trouble and don't know what to do. Any help would be preciated!
What I get from the remote notification is just a text and it changes each time, I have to convert it to a sound and then play it, so there is no any sound file in my project.