登録
swift
UIApplication.sharedApplication().registerUserNotificationSettings(UIUserNotificationSettings(forTypes: UIUserNotificationType.Sound | UIUserNotificationType.Alert | UIUserNotificationType.Badge, categories: nil))
#通知の登録
ndate = NSDate() // ndateには好きな時間をNSDate形式で指定
var notification = UILocalNotification()
notification.fireDate = ndate
notification.timeZone = NSTimeZone.defaultTimeZone()
notification.alertBody = "BODY" // 通知メッセージ内容
notification.alertAction = "OPEN" // ダイアログのボタンラベル
notification.soundName = UILocalNotificationDefaultSoundName
UIApplication.sharedApplication().scheduleLocalNotification(notification);