OS X 10.11 El Capitanではまだドキュメント化されていない「通知UIをカスタマイズできる機能」が存在するもよう。

記事内に広告が含まれています。
スポンサーリンク
スポンサーリンク
スポンサーリンク

 OS X 10.11 El Capitanではまだドキュメント化されていない「通知UIをカスタマイズできる機能」が存在する様です。詳細は以下から。


OS-X-El-Capitan-Hero


 今年秋に公開となるOS X 10.11 El Capitanですが、現在開発者向けに配布されているDeveloper Beta内に「通知のUIをカスタマイズ(拡張)できる”com.apple.notification-extension”が存在する」と様々なOS XやiOSのリークを公開しているHamza Sood さんがツイートしています。


 Hamza Sood さんはこの通知機能のUIをテストできる”NotificationExtensionTest”をGitHubに公開しているので、興味のある方は関連リンクからGitHubへどうぞ。


El-Capitan-NotificationExtensionTest

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.

[hamzasood/NotificationExtensionTest – GitHub]

関連リンク:

コメント

タイトルとURLをコピーしました