Hi,
On OS 10.0.2 with Xcode 8.0 and the custom sound does not play when I push a notification with the new UserNotifications framework which is a bug on that iOS version. But now after updating to iOS 10.1.1 the custom sound stop after 5 seconds.
The
UNNotificationSounddocumentation says: "You can package the audio data in an aiff, wav, or caf file. Sound files must be less than 30 seconds in length. If the sound file is longer than 30 seconds, the system plays the default sound instead." https://developer.apple.com/reference/usernotifications/unnotificationsoundSo if we're able to set 30 second sound files, then there must be a way of allowing them to play for 30 seconds not only 5?