2016-04-11 8 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) 

答えて