2016-04-11 9 views
3

通知がトリガされている間、ローカル通知で振動効果を追加する方法はありますか?振動ありのUILocal通知

let AlarmNotification: UILocalNotification = UILocalNotification() 
    AlarmNotification.alertBody = title 
    AlarmNotification.alertAction = "Open App" 
    AlarmNotification.category = "AlarmCategory" 

    AlarmNotification.soundName = soundName + ".mp3" 
    AlarmNotification.timeZone = NSTimeZone.defaultTimeZone() 
UIApplication.sharedApplication().scheduleLocalNotification(AlarmNotification) 

答えて

関連する問題