Skip to content

hamzasood/NotificationExtensionTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NotificationExtensionTest

An example of how to use an undocumented extension point to provide custom UI in a notification banner on OS X (pretty sure it's new in 10.11)

App extensions with an extension point of "com.apple.notification-extension" can provide a view controller to display in a banner. Just add "__ncNotificationExtensionIdentifier" to the userInfo dictionary of the NSUserNotification, with the value being the bundle identifier of the app extension you want to show.

Video: https://twitter.com/hamzasood/status/616718933760937984

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published