iOS Tips: Local Notification

Inspired by a post which talks about remind users to update app when they exit from app rather than enter. Obviously, user wants to browse the content in app and update reminder will interrupt the action which is not good for user experience.

The above post shows each side of implement but VersionAgent, Harpy, which is similar one and could be found on Github or Cocoapods. If you feel the library is too large and cannot use all of features, just implement daily version check and combine with code provided by the first post.

If you would like it fancier and differentiate features for banner and alert reminder popup,  this post would help.

reference:

UILocalNotification

http://devtang.com/blog/2012/11/10/how-to-design-upgrade-notice/

https://github.com/ArtSabintsev/Harpy

http://www.appcoda.com/local-notifications-ios8/

Advertisements

About liyao13

Yao Li is a web and iOS developer, blogger and he has a passion for technology and business. In his blogs, he shares code snippets, tutorials, resources and notes to help people develop their skills. Donate $5 to him for a coffee with PayPal at About Me page and read more professional and interesting technical blog articles. Follow him @Yaoli0615 at Twitter to get latest tech updates.
This entry was posted in iOS and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s