@dave1707 will do! Thanks for the assistance, but supposedly sending a message to the lock screen when a certain thing happens, is xCode.
And I don’t have a Mac nor know how to code in xCode
@Speakmore - the Xcode stuff is pretty straight forward (see below) and exporting your project to Xcode is now really simple.
The method below comes from my free app MessageMate (https://itunes.apple.com/au/app/messagemate/id628810481?mt=8) which allows you to schedule future emails/sms and brings up a notification when it is time to send.
- (void)scheduleNotificationMessage: (NSString *)msg forDate: (NSDate *)date withKey: (NSString *)key
{
UILocalNotification *localNotification = [[UILocalNotification alloc] init];
if (localNotification == nil)
return;
localNotification.fireDate = date;
NSLog(@"Notification will be shown on: %@", localNotification.fireDate);
localNotification.timeZone = [NSTimeZone defaultTimeZone];
localNotification.alertBody = [NSString stringWithFormat:
@"MessageMate: A scheduled message is ready to send."];
localNotification.alertAction = NSLocalizedString(@"View Details", nil);
// Specify custom data for the notification
NSArray *objects = [NSArray arrayWithObjects: key, msg, nil];
NSArray *keys = [NSArray arrayWithObjects: kKey, kMsg, nil];
NSDictionary *infoDict = [NSDictionary dictionaryWithObjects: objects forKeys: keys];
localNotification.userInfo = infoDict;
// Here we set notification sound
localNotification.soundName = UILocalNotificationDefaultSoundName;
// Schedule the notification
[[UIApplication sharedApplication] scheduleLocalNotification: localNotification];
}