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
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
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
410
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
680
Side Projects
sachag
456
43k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
240
Building AI with AI
inesmontani
PRO
1
1.2k
GraphQLとの向き合い方2022年版
quramy
50
15k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Product Roadmaps are Hard
iamctodd
55
13k
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