UILocalNotification を作成していますが、これに複数の userInfo を設定する必要があります。これを行うにはどうすればよいですか?
// Create a new notification
UIApplication* app = [UIApplication sharedApplication];
UILocalNotification *alarm = [[UILocalNotification alloc] init];
alarm.fireDate = date;
alarm.timeZone = [NSTimeZone localTimeZone];
alarm.alertBody = msg;
alarm.alertAction = @"View";
alarm.repeatInterval = NSYearCalendarUnit;
alarm.soundName=@"happyBirthday.wav";
alarm.applicationIconBadgeNumber = 1;
NSDictionary *userDict = [NSDictionary dictionaryWithObject:detailperson forKey:@"msg"];
NSDictionary *userDictName = [NSDictionary dictionaryWithObject:detailperson2 forKey:@"name"];
alarm.userInfo = userDict;
alarm.userInfo = userDictName;