Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
User Notification for UX!
Search
sato-shin
September 17, 2019
210
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
User Notification for UX!
sato-shin
September 17, 2019
More Decks by sato-shin
See All by sato-shin
Goビルドを理解し、 CI/CDの高速化に挑む
satoshin
0
800
DateComponentsと仲良くなる
satoshin
3
3.9k
Bitriseのビルド回数が 10倍以上になって変わったコト
satoshin
1
490
Pull Request Trigger について ~Expose for Pull Request?~
satoshin
1
170
Using various views on Notification Content app extension
satoshin
2
1.2k
Getting step count on iOS
satoshin
4
3.4k
Featured
See All Featured
The Curse of the Amulet
leimatthew05
3
16k
Six Lessons from altMBA
skipperchong
29
4.6k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
550
Designing Powerful Visuals for Engaging Learning
tmiket
1
630
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
320
Joys of Absence: A Defence of Solitary Play
codingconduct
1
570
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
420
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
970
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
370
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
450
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
HDC tutorial
michielstock
2
990
Transcript
6TFS/PUJpDBUJPOGPS69 TBUPTIJO!8*5$P-UE
6TFS/PUJpDBUJPOͬͯʁ
6TFS/PUJpDBUJPOͬͯʁ
6TFS/PUJpDBUJPOͬͯʁ ΞϓϦ͕'PSFHSPVOE͡Όͳ͍ঢ়گͰ ϢʔβʹΞϓϩʔνͰ͖Δํ๏ͷҰͭ
6TFS/PUJpDBUJPOͷछྨ w-PDBM/PUJpDBUJPO w"QQͰఆٛͨ݅͠ ࣌ؒॴ Ͱड৴ w3FNPUF/PUJpDBUJPO w"1/Tܦ༝Ͱड৴
6TFS/PUJpDBUJPOͷ༻్ྫ w༧ఆ͍ͯͨ͠λεΫͷϦϚΠϯυ w4/4Ͱͷ༑ਓ͔Βͷϝοηʔδͷड৴ w߸֎ʗϐοΫΞοϓχϡʔε wήʔϜΠϕϯτ։࢝ͷࠂ ͳͲ
6TFS/PUJpDBUJPOϢʔβʹ Կ͔ΞΫγϣϯΛ͍ͤͨ͞߹ਤ
6TFS/PUJpDBUJPOϢʔβʹ Կ͔ΞΫγϣϯΛ͍ͤͨ͞߹ਤ w༧ఆ͍ͯͨ͠λεΫͷϦϚΠϯυ w4/4Ͱͷ༑ਓ͔Βͷϝοηʔδड৴ w߸֎ʗϐοΫΞοϓχϡʔε wήʔϜΠϕϯτ։࢝ͷࠂ wλεΫΛ࣮ߦ͢Δ wϝοηʔδΛݟΔʗฦ৴͢Δ wχϡʔεΛݟΔ wΠϕϯτʹࢀՃ͢Δ
࣮ࡍʹ৯ࣄهΞϓϦΛ ྫʹߟ͑ͯΈΔ
৯ࣄهΞϓϦʮ͚͋͢Μʯ ࣌ ສਓ͕ར༻͢Δ ৯ࣄهʹಛԽͨ͠ ϔϧεέΞΞϓϦ J04%$4JMWFSεϙϯαʔ Λ͍͖ͤͯͨͩ͞·ͨ͠
ฐࣾͷએͰͨ͠ ࣍ϖʔδ͔ΒຊʹΓ·͢
6TFS/PUJpDBUJPOΛ λοϓͨ͠ΒͲ͏ͳΔʁ
6TFS/PUJpDBUJPOΛ λοϓͨ͠ΒͲ͏ͳΔʁ Ϣʔβே৯Λه͍ͨ͠ (PPE ࠓͷே৯Λه͢Δ ϑϩʔભҠ͢Δ #BE ΞϓϦΛىಈ͢Δ͚ͩ
6TFS/PUJpDBUJPOΛ λοϓͨ࣌͠ͷڍಈͷ࣮ @available(iOS 10.0, *) func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive
response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) { // ௨Λλοϓͨ࣌͠ͷॲཧΛॻ͘ // ... // end completionHandler() } ˞ΞϓϦ͕'PSFHSPVOEͷ࣌ʹ6TFS/PUJpDBUJPOΛड͚औͬͨ࣌ͷ࣮ͪ͜Β func userNotificationCenter(UNUserNotificationCenter, willPresent: UNNotification, withCompletionHandler: (UNNotificationPresentationOptions) -> Void) UNUserNotificationCenterDelegate
6TFS/PUJpDBUJPOΛλοϓ͠ͳ͍Ͱɺ ΞΫγϣϯ͕ྃͨ͠Βʁ ௨ৗ௨ΓɺΞϓϦΛىಈ͠ ே৯Λهͨ͠߹
6TFS/PUJpDBUJPOΛλοϓ͠ͳ͍Ͱɺ ΞΫγϣϯ͕ྃͨ͠Βʁ Ϣʔβே৯Λهͨ͠ (PPE ΞΫγϣϯ͕͍ྃͯ͠ΔͷͰ ௨Λഁغ͢Δ #BE ௨Λͦͷ··ʹ͓ͯ͘͠
6TFS/PUJpDBUJPOΛ ഁغ͢Δ࣮ let identifiers: [String] = ["id1", "id2", …] UNUserNotificationCenter.current()
.removeDeliveredNotifications(withIdentifiers: [identifiers])
·ͱΊ w6TFS/PUJpDBUJPOʹରԠ͢Δ ΞΫγϣϯΛ࣮͠Α͏ w6TFS/PUJpDBUJPOʹରԠ͢Δ ΞΫγϣϯ͕ྃʗܧଓෆՄೳʹͳͬͨΒɺ ഁغ͠Α͏ χϡʔεͷ৴ظ͕ؒऴΘͬͨ
None