頼むからプッシュ通知の使い方を おろそかにしないでくれ!

7d709dd44f86dc8f2b7ddb4c48145dfc?s=47 jollyjoester
September 17, 2017

頼むからプッシュ通知の使い方を おろそかにしないでくれ!

iOSDC2017での発表資料

7d709dd44f86dc8f2b7ddb4c48145dfc?s=128

jollyjoester

September 17, 2017
Tweet

Transcript

  1. པΉ͔Βϓογϡ௨஌ͷ࢖͍ํΛ ͓Ζ͔ͦʹ͠ͳ͍Ͱ͘Εʂ iOSDC2017@ૣҴాେֶ jollyjoester

  2. ͓લ୭Α name: ࣣౡҒ೭ʢͳͳ͠·ͻͰΏ͖ʣ id: jollyjoester belong to: Repro Inc. ->

    Mercari, Inc. community: SwiftѪ޷ձ
  3. ΞδΣϯμ • ϓογϡ௨஌͸ͳͥେࣄʁ • ࠓճ͢Δ࿩ / ͠ͳ͍࿩ • ϓογϡ௨஌ͷྺ࢙ •

    ϓογϡ௨஌ͷදݱ/ػೳ • ϓογϡ௨஌ͷߦ͘ઌ • ·ͱΊ
  4. ϓογϡ௨஌͸ͳͥେࣄʁ

  5. ϓογϡ௨஌͸ͳͥେࣄʁ ΞϓϦΛىಈ͍ͯ͠ͳ͍ঢ়ଶͷϢʔβʔͱޮՌతʹίϛϡ χέʔγϣϯͰ͖Δوॏͳखஈ͔ͩΒ ΞϓϦ͔Β৘ใΛऔΓʹߦ͘ʹϓϧʹରͯ͠ͷϓογϡ

  6. ϓογϡ௨஌͸ͳͥେࣄʁ ΞϓϦͷ֎ͱ಺ͷڱؒͰͷίϛϡχέʔγϣϯ ϦλʔήςΟϯά޿ࠂ ΞϓϦ಺ϚʔέςΟϯά μΠΞϩά ͓஌Βͤػೳ Line ϝʔϧ ϓογϡ௨஌ ΞϓϦ֎

    ΞϓϦ಺
  7. ਆίϛϡχέʔγϣϯ

  8. ྑ͍ίϛϡχέʔγϣϯ →

  9. ࠓճ͢Δ࿩ / ͠ͳ͍࿩

  10. ࠓճ͢Δ࿩ / ͠ͳ͍࿩ େࣄͳϓογϡ௨஌ΛޮՌతʹ࢖͏ͨΊʹɾɾɾ • ௨஌ʹՁ஋Λײ͡ΔϢʔβʔ͚ͩʹૹΔʂ • ϢʔβʔʹඞཁͳλΠϛϯάͰૹΔʂ • ௨஌͍ͨ͠಺༰ʹదͨ͠දݱΛબ୒ͯ͠ૹΔʂ


  11. ࠓճ͢Δ࿩ / ͠ͳ͍࿩ େࣄͳϓογϡ௨஌ΛޮՌతʹ࢖͏ͨΊʹɾɾɾ • ௨஌ʹՁ஋Λײ͡ΔϢʔβʔ͚ͩʹૹΔʂ -> ͠ͳ͍ • ϢʔβʔʹඞཁͳλΠϛϯάͰૹΔʂ

    -> ͠ͳ͍ • ௨஌͍ͨ͠಺༰ʹదͨ͠දݱΛબ୒ͯ͠ૹΔʂ-> ͢ Δ
  12. ࠓճ͢Δ࿩ / ͠ͳ͍࿩ ϓογϡ௨஌͸ڱؒͷػೳ • ϓογϡ௨஌ͷ಺༰Λߟ͑Δͷ͸Ϛʔέλʔ • ड৴࣌ͷಈ࡞Λ࣮૷͢Δͷ͸ΞϓϦΤϯδχΞ • ૹΔͷ͸αʔόʔΤϯδχΞ

    ϓογϡ௨஌ͰԿ͕࣮ݱͰ͖Δ͕஌͍ͬͯΔΞϓϦΤϯδχ Ξଆ͔Βಇ͖͔͚ΒΕΔΑ͏ʹͳΔͷ͕Ұ൪ྑ͍ؾ͕͢Δʂ
  13. ϓογϡ௨஌ͷྺ࢙

  14. ϓογϡ௨஌ͷྺ࢙ 2007೥ɿiPhoneॳొ৔ʢ͜ͷࠒ͸ϓογϡ௨஌͸ͳ͍ʣ

  15. ϓογϡ௨஌ͷྺ࢙ 2009೥ɿϓογϡ௨஌ελʔτ
 ʢiPhoneOS 3, iPhone 3GSͷࠒʣ

  16. ϓογϡ௨஌ͷྺ࢙ 2011೥ɿ௨஌ηϯλʔɺόφʔܕ௨஌
 ʢiOS 5, iPhone 4Sͷࠒʣ

  17. ϓογϡ௨஌ͷྺ࢙ 2013೥ɿαΠϨϯτϓογϡ
 ʢiOS 7, iPhone 5sͷࠒʣ

  18. ϓογϡ௨஌ͷྺ࢙ 2014೥ɿ௨஌ηϯλʔվྑɺΞΫγϣϯ෇͖ϓογϡ
 ʢiOS 8, iPhone 6ͷࠒʣ

  19. ΞΫγϣϯ෇͖ϓογϡ௨஌ →

  20. ϓογϡ௨஌ͷྺ࢙ 2015೥ɿ௨஌όφʔ্ͰςΩετೖྗ
 ʢiOS 9, iPhone 6sͷࠒʣ

  21. ϓογϡ௨஌ͷྺ࢙ 2016೥ɿϦον௨஌
 ʢڈ೥ͷWWDCʣ

  22. None
  23. ϓογϡ௨஌ͷྺ࢙ 2017೥ɿHidden Notification Content
 ʢࠓ೥ͷWWDCʣ

  24. → Hidden Notification Content

  25. ϓογϡ௨஌ͷྺ࢙ 2009 iPhoneOS 3 Push௨஌ελʔτ 2011 iOS 5 ௨஌ηϯλʔɺόφʔܕ௨஌ 2013

    iOS 7 αΠϨϯτϓογϡ 2014 iOS 8 ௨஌ηϯλʔվྑɺΞΫγϣϯ෇͖ϓογϡ 2015 iOS 9 ௨஌όφʔ্ͰςΩετೖྗ 2016 iOS 10 Ϧον௨஌ 2017 iOS11 Hidden Notification Content
  26. ϓογϡ௨஌ͷදݱɾػೳ

  27. جຊ

  28. λΠτϧɾαϒλΠτϧ

  29. όοδ

  30. α΢ϯυ ♪

  31. ΞΫγϣϯ෇͖ →

  32. Ϧον௨஌

  33. https://t.co/z77UiUBAP3

  34. Ϧον௨஌ͷ࢓૊Έ https://devstreaming-cdn.apple.com/videos/wwdc/2017/708n9dvm3oden/ 708/708_best_practices_and_whats_new_in_user_notifications.pdf

  35. αΠϨϯτ ௨஌ग़ͣ͞ʹόοΫάϥ΢ϯυͰΞϓϦΛಈ͔ͤΔ

  36. σΟʔϓϦϯΫ෇͖ →

  37. ϓογϡ௨஌ͷ͜ͷઌ

  38. ϓογϡ௨஌ͷྺ࢙ʢ࠶ܝʣ 2009 iPhoneOS 3 ϓογϡ௨஌ελʔτ 2011 iOS 5 ௨஌ηϯλʔɺόφʔܕ௨஌ 2013

    iOS 7 αΠϨϯτϓογϡ 2014 iOS 8 ௨஌ηϯλʔվྑɺΞΫγϣϯ෇͖ϓογϡ 2015 iOS 9 ௨஌όφʔ্ͰςΩετೖྗ 2016 iOS 10 Ϧον௨஌ 2017 iOS11 Hidden Notification Content
  39. ϓογϡ௨஌ͷྺ࢙ʢAndroidʣ 2010 ϓογϡ௨஌ελʔτ 2012 Jelly Bean ΞΠίϯΧελϚΠζ λΠτϧɺຊจɺϘλϯͳͲ഑ஔ 2014 Lollipop

    ϩοΫεΫϦʔϯʹ௨஌දࣔˍฦ৴ ௨஌ͷ༏ઌ౓ 2015 Marshmallow ௨஌ྖҬ͔ΒΫΠοΫઃఆ 2016 Nougat ௨஌ͷάϧʔϓԽ 2017 O ௨஌νϟωϧˍνϟωϧ͝ͱʹ ༏ઌ౓ͷߟ͑ํ΋ਐԽ
  40. ϓογϡ௨஌͸͜ͷઌͲ͏ͳΔʁ ௨஌ͷߴػೳԽ • ΞϓϦΛ։͔ͣʹ͚ͬ͜͏ͳΜͰ΋Ͱ͖ΔΑ͏ʹ ௨஌ηϯλʔͷߴ౓Խ • ௨஌ΛΧςΰϥΠζ͠ɺͦΕͧΕʹదͨ͠

  41. ϓογϡ௨஌͸Ͳ͏ͳΔʁ ௨஌ͷߴػೳԽ ex. Notification Content Extension

  42. https://github.com/jollyjoester/SushiGoRound https://t.co/ZSdd7LbOFF

  43. ϓϩδΣΫτ

  44. Storyboard͕͋Δ

  45. UIViewControllerΛܧঝ͍ͯ͠Δ

  46. ͳΜͰ΋Ͱ͖Δʂ

  47. ΞϓϦΛىಈͯ͠΋Β͏ͨΊͷϓογϡ௨஌ ↓ ΞϓϦΛىಈͤͣʹ
 ΞϓϦΛ࢖ͬͯ΋Β͏ίϛϡχέʔγϣϯ

  48. ϓογϡ௨஌͸Ͳ͏ͳΔʁ ௨஌ηϯλʔͷߴ౓Խ ex.Hidden Content Notification

  49. → Hidden Notification Content

  50. Hidden Notification Content ʢϓϥΠόγʔͷͨΊͷػೳͱApple͸ݴ͍ͬͯΔ͕ʣ
 ௨஌ΛΧςΰϥΠζͯ͠·ͱΊΔ͜ͱ͕Ͱ͖Δػೳ ↓ কདྷతʹ͸·ͱΊͨ௨஌͝ͱʢΧςΰϦ͝ͱʣʹ༏ઌ౓ ड৴ཁ൱ΛઃఆͰ͖ΔΑ͏ʹʢ͖ͬͱʣͳΔ

  51. ·ͱΊ • ϓογϡ௨஌͸େࣄʂ • ϓογϡ௨஌ͰͲΜͳදݱɾػೳ͕࣮ݱͰ͖Δ͔Λ೺Ѳ ͯ͠ɺϢʔβʔͱͷྑ͍ίϛϡχέʔγϣϯΛங͜͏ʂ

  52. ͓·͚ ͥͻݟ͓͖͍ͯͨ Best Practices and What’s New in User Notifications

    https://developer.apple.com/videos/play/wwdc2017/708/
  53. ͓·͚ • ࠓճ঺հͨ͠ϓογϡ௨஌ͷ࣮૷ͷ࢓ํʹ͍ͭͯ͸
 ٕज़ॻయ3Ͱൢച༧ఆͷຊʹهࡌ༧ఆʂʢͨͩ͠ਐḿ͋ Γ·ͤΜ - https://techbookfest.org/event/tbf03

  54. ͓·͚ ϓογϡ௨஌ͷड৴Λڐ୚ͯ͠΋Β͏ํ๏͸ਅ݋ʹߟ ͑Α͏ʂʢ͡Όͳ͍ͱίϛϡχέʔγϣϯͦͷ΋ͷ͕࢝ ·Βͳ͍ʣ

  55. ͓·͚ ϝϧΧϦͰ͸Ұॹʹಇ͍ͯ͘ΕΔ஥ؒΛืू͍ͯ͠·͢ʂ

  56. Thank you iOSDC