Created
June 20, 2018 11:48
-
-
Save niwatako/c0b724f607bf37a7af9010fc1c18838d to your computer and use it in GitHub Desktop.
『iOS12からのNotification』 #CodePiece #ca_swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CA.swift #6 WWDC18 報告会 - connpass | |
https://cyberagent.connpass.com/event/88328/ | |
## 『iOS12からのNotification』 | |
三木 俊作 | |
Grouped Noritication | |
通知がグルーピングされてタップすると展開される | |
アプリの中でも threadIdentifierつけてグループ分けできる。 | |
Notification Content Extensionで、Like/Unlike切り替わるボタンとかができる。静的だったものがDynamicに。 | |
View上にUIButtonなど操作を受け付けるパーツを配置できるようになった。 | |
UNNotificationExtensionなんとかかんとか をEnabledにすると操作できるようになる。 | |
カスタムUIからアプリを起動したり通知を消したりができるようになる。 | |
Notification Management | |
見せ方を変更したり、アプリの中に通知設定をできるようになったり。 | |
アプリ独自の通知設定をしていることも多いと思う。設定アプリの通知設定側から、アプリを呼び出す事ができるようになる。 | |
起動動線が増えて大変だけど、ユーザーを考えればしゃあなしかと思います。 | |
#### Provisional authorization | |
初回起動時にいつもの通知許可が出てこず、NotificationCenterを許可した状態として扱われて、初めて通知を受信したとき、移行この通知を受信するかどうか選択するUIが表示されます。 | |
こういう通知を送りますよ、というのを見せながら、許諾を選んでもらえるようになった。 | |
#### Critical alertsという通知の魅せ方が登場 | |
通知ボリュームやカスタムサウンドを設定可能。通常のNotificationをOffにしていても届く。 | |
悪用を防ぐため、Critical alert用のEntitlementをいれて申請する必要がある。 | |
災害情報やヘルスケアには強い新機能かもしれない。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment