Upgrade to Pro — share decks privately, control downloads, hide ads and more …

近年のAppleにおける位置情報とプライバシー

 近年のAppleにおける位置情報とプライバシー

2023/07/12 YUMEMI.grow Mobile #5

akatsuki174

July 12, 2023
Tweet

More Decks by akatsuki174

Other Decks in Technology

Transcript

  1. ۙ೥ͷAppleʹ͓͚Δ


    Ґஔ৘ใͱϓϥΠόγʔ
    YUMEMI.grow Mobile #5


    @akatsuki174

    View Slide

  2. ࣗݾ঺հ

    View Slide

  3. • @akatsuki174


    • גࣜձࣾΏΊΈॴଐ


    • Android/iOS/FlutterΤϯδχΞ


    • 1ࣇͷ฼


    • ΋͏͙͢2ࣇͷ฼


    • ϫϯΦϖͳͷͰ੠͕ฉ͑͜Δ͔
    ΋…

    View Slide

  4. ࠓ೔ͷ࿩

    View Slide

  5. View Slide

  6. ࠓ೔͸Ґஔ৘ใͷ࿩
    • ~ iOS 12


    • iOS 13
    • iOS 14


    • iOS 15


    • iOS 16


    ※iOSDCຊ൪͸ҧ͏ߏ੒ɺ಺༰ʹͳΓ·͢

    View Slide

  7. ஫ҙॻ͖
    • ൣғΛiOS,iPadOSͷຊମʹߜͬͯ·͢


    • watchOSͳͲͷଞͷϓϥοτϑΥʔϜɺ
    App Clips, WidgetͳͲ͸ର৅֎Ͱ͢


    • εΫγϣ͸AppleͷWWDCಈը͔Βഈआ

    View Slide

  8. iOS 12Ҏલ

    View Slide

  9. Info.plistͷઃఆ
    • ʮ࢖༻தͷΈڐՄʯ


    • NSLocationWhenInUseUsageDescriptionΛ
    ॻ͍͓ͯ͘


    • ʮৗʹڐՄʯ


    • NSLocationAlwaysAndWhenInUseUsageD
    escriptionΛॻ͍͓ͯ͘

    View Slide

  10. View Slide

  11. iOS 13

    View Slide

  12. μΠΞϩάબ୒ࢶʹมԽ
    • requestAlwaysAuthorizationΛͯ͠΋ɺ


    • ʙiOS 12


    • ʮৗʹڐՄʯʮ࢖༻தͷΈڐՄʯʮڐՄ͠ͳ
    ͍ʯ


    • iOS 13ʙ


    • ʮ࢖༻தͷΈڐՄʯʮҰ࣌తʹڐՄʯʮڐՄ
    ͠ͳ͍ʯ

    View Slide

  13. View Slide

  14. ʮৗʹڐՄʯ͕ͳ͘ͳͬͨʁ
    • ʮৗʹڐՄʯΛٻΊΔλΠϛϯά͕มΘͬͨ
    ͚ͩ


    • ʮ࢖༻தͷΈڐՄʯΛબ୒͢ΔͱԾͷʮৗʹ
    ڐՄʯঢ়ଶʹͳΓɺͦͷޙόοΫάϥ΢ϯυ
    ͰҐஔ৘ใͷऔಘΛ͠Α͏ͱͨ͠ͱ͖ʹ࠶౓
    μΠΞϩάͰฉ͔ΕΔ

    View Slide

  15. View Slide

  16. View Slide

  17. View Slide

  18. iOS 14

    View Slide

  19. ʮਖ਼֬ͳҐஔ৘ใʯొ৔
    • ࠷খݶͷҐஔ৘ใఏڙͰࡁΉΑ͏ɺʮਖ਼֬ͳ
    Ґஔ৘ใʯΛΦϑʹ͢Δػೳ͕ొ৔


    • ΞϓϦଆͰΦϓτΞ΢τ͢Δ͜ͱ͸Ͱ͖ͳ͍

    View Slide

  20. ʮਖ਼֬Ͱͳ͍Ґஔ৘ใʯͱ͸
    • Ґஔ͸޿͍ԁͰද͞ΕΔ


    • ԁͷத৺͸ϢʔβͷҐஔͱ͍͏Θ͚Ͱ͸ͳ
    ͘ɺϢʔβͷۙࣅ஍Ҭͷத৺ʹ͗͢ͳ͍


    • ߴີ౓ͷࢢ֗஍Ͱ͸਺kmͷԁ͕ͩɺີ౓ͷ
    ௿͍߫֎Ͱ͸10km͘Β͍ͷԁʹͳΔ

    View Slide

  21. View Slide

  22. View Slide

  23. View Slide

  24. View Slide

  25. ਖ਼֬ͳҐஔ৘ใ͕͍Βͳ͍৔߹
    • Info.plistΛ͍͡Δ͚ͩͰઃఆ͕Ͱ͖Δ

    View Slide

  26. View Slide

  27. Ұ࣌తʹਖ਼֬ͳҐஔ৘ใΛཁٻ
    • ʮಓҊ಺͍ͨ͠ͷʹਖ਼֬ͳҐஔ৘ใ͕Φϯʹ
    ͳͬͯͳ͍ʯͳͲͷ৔߹͸Ұ࣌తʹਖ਼֬ͳҐ
    ஔ৘ใΛཁٻ͢Δ͜ͱ͕Ͱ͖Δ

    View Slide

  28. View Slide

  29. View Slide

  30. iOS 15

    View Slide

  31. LocationButtonొ৔
    • SwiftUIͳΒLocationButtonɺUIKitͳΒ
    CLLocationButton͕࢖͑ΔΑ͏ʹ


    • ʮඞཁͳͱ͖ʹҰ౓͚ͩҐஔ৘ใͷΞΫηε
    ཁٻΛ͢Δʯ͕؆୯ʹͰ͖Δ


    • ڐ୚μΠΞϩάΛ؆୯ʹग़ͤΔͱ͍͏͚ͩ
    Ͱɺ͜ͷϘλϯࣗମʹҐஔ৘ใΛऔಘ͢Δػ
    ೳ͸ͳ͍

    View Slide

  32. ͳͥ࡞ΒΕͨʁ
    • iOS 13࣌୅͔Βొ৔ͨ͠ʮҰ౓͚ͩڐՄʯͷ
    ৔߹ɺΞϓϦΛόοΫάϥ΢ϯυʹͨ͠ͱ͖
    ʹڐՄ͕ͳ͘ͳͬͯ͠·͏໰୊͕͋ͬͨͨΊ

    View Slide

  33. View Slide

  34. iOS 16

    View Slide

  35. ίϯτϩʔϧηϯλʔʹมԽ
    • Ґஔ৘ใΛ࢖༻ͨ͠ΞϓϦ͕͋Δͱɺίϯτ
    ϩʔϧηϯλʔʹΞϓϦ໊ͱͦͷৄࡉ͕දࣔ
    ͞ΕΔ

    View Slide

  36. View Slide

  37. ·ͱΊͳͲ

    View Slide

  38. ۙ೥ͷҐஔ৘ใͱϓϥΠόγʔ
    • ຖ೥ͱݴ͍͍ͬͯ΄ͲมԽ͕͋Δ


    • Ґஔ৘ใΛѻ͏ͳΒຖ೥ΩϟονΞοϓ͠ͳ
    ͍ͱɺ࠷ѱͷ৔߹ϦδΣΫτ΋͋ΓಘΔ

    View Slide

  39. ͓ΘΓ

    View Slide