Added alarmTone property to Alarm class.
This commit is contained in:
@@ -63,7 +63,7 @@ class AlarmActivationViewController: UIViewController
|
||||
|
||||
@objc func playSound()
|
||||
{
|
||||
AudioServicesPlayAlertSound(SystemSoundID(1005))
|
||||
AudioServicesPlayAlertSound(currentAlarm!.alarmTone)
|
||||
AudioServicesPlayAlertSound(kSystemSoundID_Vibrate)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user