iOS/iPhone/iPad/MacOSX/Android プログラミング, Objective-C, Cocoa, Swiftなど Notificationには、LocalとPushの二種類があって、前者は発生源が手元のアプリケーション、後者は発生源が外部という事のようだ。 Local Notificationの登録は、通知する日時を指定する方法と、直ぐに通知する方法の二通りがある。 通知する日時を指定する手順は以下のとおり。 - (IBAction)scheduleNotification:(id)sender { DBGMSG(@"%s", __func__); NSDate *today = [NSDate date]; UILocalNotification *localNotif = [[UILocalNotification alloc] init]; if (local
![『[iOS]Local Notification』](https://cdn-ak-scissors.b.st-hatena.com/image/square/f7598ae422e2d2105e5f03b184f3b0556c4156d6/height=288;version=1;width=512/https%3A%2F%2Fstat.profile.ameba.jp%2Fprofile_images%2F20180311%2F13%2Ff2%2FOu%2Fj%2Fo06000399p_1520742223321_enua6.jpg)