alexruperez / uiusernotificationsettings-extension Goto Github PK
View Code? Open in Web Editor NEWHelper methods that will make you much easier to handle #Interactive #Notifications.
License: MIT License
Helper methods that will make you much easier to handle #Interactive #Notifications.
License: MIT License
Is it possible to add a Local Notification with a set date/time locally?
I saw your example and you make the notification pop after 1 sec, but I wanted to use it out of appDelegate and create X notifications all with different times and dates.
Thanks
Why not putting it on http://cocoapods.org/ ? ;-)
It would be great if such one, similar to the one used by the Messages app, could be added.
Hi
Alex,
UIUserNotificationSetting is working really good,
It will be more useful for following issue.
Can u please let me know, how to show localNotification when the applicationDidBecomeActive.
its working when app is in background Mode,
I need it when application is opened & closed.
When application is opened the notification is not showing for me.
- (void)applicationDidBecomeActive:(UIApplication *)application {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
UILocalNotification *localNotification = UILocalNotification.new;
localNotification.fireDate = [NSDate dateWithTimeIntervalSinceNow:2];
localNotification.alertBody = @"congratulation !";
localNotification.alertAction = @"Open ๐";
localNotification.category = @"default_category";
[application scheduleLocalNotification:localNotification];
}
Your valuable inputs will be appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.