ViewController.m に配列が格納されています。しかし、アプリがバックグラウンドに入ると、配列から通知を投稿したいと考えています。
私のNSMutableArray「リスト」はViewController.mで作成されましたが、AppDelegate.mで使用する必要があります
- (void)applicationDidEnterBackground:(UIApplication *)application
for (NSString *thing in list) {
UILocalNotification *notif = [[UILocalNotification alloc] init];
notif.alertBody = thing.text;
[[UIApplication sharedApplication] presentLocalNotificationNow:notif];