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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
sato-shin
September 17, 2019
200
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
660
DateComponentsと仲良くなる
satoshin
3
3.8k
Bitriseのビルド回数が 10倍以上になって変わったコト
satoshin
1
490
Pull Request Trigger について ~Expose for Pull Request?~
satoshin
1
160
Using various views on Notification Content app extension
satoshin
2
1.2k
Getting step count on iOS
satoshin
4
3.3k
Featured
See All Featured
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
520
Google's AI Overviews - The New Search
badams
0
1.6k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Utilizing Notion as your number one productivity tool
mfonobong
4
590
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.6k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
65k
Marketing to machines
jonoalderson
1
5.8k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
980
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
ラッコキーワード サービス紹介資料
rakko
1
4.9M
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.9k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
440
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