Slide 1

Slide 1 text

SwiftͰͷGeoFenceػೳ࣮૷ Tips Λఴ͑ͯ ෰෦ ஐ satoshi0212 גࣜձࣾΤΫεϥΠζ νʔϑΤϯδχΞ

Slide 2

Slide 2 text

ࣗݾ঺հ iOSΞϓϦΤϯδχΞ ΧϦϑΥϧχΞभཱେֶίϯϐϡʔλαΠΤϯεֶ෦ଔ גࣜձࣾΤΫεϥΠζॴଐ

Slide 3

Slide 3 text

ࣗݾ঺հ ৽͍ٕ͠ज़ͱɺͦͷগ͠มΘͬͨ࢖͍ํ͕େ޷͖ ɹTechCrunch Tokyo 2015 Hackathon ༏ल৆ ɹMizuho.Hack ༏ल৆ ɹMicrosoft MPC Hackathon TMCN৆ ɹHack Cars Days 2015 χϑςΟ৆ ɹMUSICIANS HACKATHON 2015 ༏ल৆ ɹɹͳͲ

Slide 4

Slide 4 text

ࠓ೔࿩͢಺༰ GeoFenceػೳͱ͸ ɹ1. ಛ௃ͱ੍ݶ ɹ2. ࣮૷ํ๏ ɹ3. Tips΍௚໘ͨ͠໰୊ͳͲ ·ͱΊ

Slide 5

Slide 5 text

ࠓ೔࿩͢಺༰ GeoFenceػೳͱ͸ ɹ1. ಛ௃ͱ੍ݶ ɹ2. ࣮૷ํ๏ ɹ3. Tips΍௚໘ͨ͠໰୊ͳͲ ·ͱΊ

Slide 6

Slide 6 text

GeoFenceػೳͱ͸ ʮҐஔ৘ใαʔϏεΛ࢖༻ͯ͠ɺط஌ͷ஍ཧతҐஔʹ͍ͭ ͯͷ͋ΒΏΔਐೖ·ͨ͸ୀग़Λݕग़͠·͢ʯ "Ґஔ৘ใͱϚοϓϓϩάϥϛϯάΨΠυ" ΑΓ

Slide 7

Slide 7 text

GeoFenceػೳͱ͸ ʮҐஔ৘ใαʔϏεΛ࢖༻ͯ͠ɺط஌ͷ஍ཧతҐஔʹ͍ͭ ͯͷ͋ΒΏΔਐೖ·ͨ͸ୀग़Λݕग़͠·͢ʯ "Ґஔ৘ใͱϚοϓϓϩάϥϛϯάΨΠυ" ΑΓ

Slide 8

Slide 8 text

GeoFenceػೳͱ͸ ʮҐஔ৘ใαʔϏεΛ࢖༻ͯ͠ɺط஌ͷ஍ཧతҐஔʹ͍ͭ ͯͷ͋ΒΏΔਐೖ·ͨ͸ୀग़Λݕग़͠·͢ʯ "Ґஔ৘ใͱϚοϓϓϩάϥϛϯάΨΠυ" ΑΓ

Slide 9

Slide 9 text

GeoFenceػೳͱ͸ ʮͨͱ͑͹ɺॴఆͷυϥΠΫϦʔχϯάళʹ͍ۙͮͨͱ͖ɺ ࢓্͕͍ͬͯΔ෰Λड͚औΔΑ͏௨஌͢ΔΞϓϦέʔγϣ ϯ͕ߟ͑ΒΕ·͢ʯ"Ґஔ৘ใͱϚοϓϓϩάϥϛϯάΨΠυ" ΑΓ

Slide 10

Slide 10 text

GeoFenceػೳͱ͸ ɹAppleެࣜʹ͸“Geographical Region Monitoring” ɹ೔ຊޠͰ͸ʮ஍ཧతྖҬͷ؍ଌʯ

Slide 11

Slide 11 text

Ґஔ৘ใ࣮૷ํ๏ͷ؆୯ͳ·ͱΊ

Slide 12

Slide 12 text

1 Standard Location 2 Background Location Session 3 Beacon Ranging 4 Geographical Region Monitoring 5 Visit Monitoring 6 Significant Location Change Monitoring Ґஔ৘ใ࣮૷ํ๏ͷ؆୯ͳ·ͱΊ

Slide 13

Slide 13 text

1 Standard Location ඪ४Ґஔ৘ใ 2 Background Location Session όοΫάϥ΢ϯυ ͰͷҐஔ৘ใ 3 Beacon Ranging ϏʔίϯྖҬ؍ଌ 4 Geographical Region Monitoring ஍ཧతྖҬ؍ଌ 5 Visit Monitoring ๚໰ઌ௥੻ 6 Significant Location Change Monitoring େ෯มߋҐஔ৘ใ Ґஔ৘ใ࣮૷ํ๏ͷ؆୯ͳ·ͱΊ

Slide 14

Slide 14 text

4VTQFOEFE /PU3VOOJOH U3VOOJOH 1 Standard Location ඪ४Ґஔ৘ใ 2 Background Location Session όοΫάϥ΢ϯυ ͰͷҐஔ৘ใ 3 Beacon Ranging ϏʔίϯྖҬ؍ଌ ✔ 4 Geographical Region Monitoring ஍ཧతྖҬ؍ଌ ✔ 5 Visit Monitoring ๚໰ઌ௥੻ ✔ 6 Significant Location Change Monitoring େ෯มߋҐஔ৘ใ ✔ Ґஔ৘ใ࣮૷ํ๏ͷ؆୯ͳ·ͱΊ

Slide 15

Slide 15 text

4VTQFOEFE /PU3VOOJOH U3VOOJOH ಛ௃ 1 Standard Location ඪ४Ґஔ৘ใ 2 Background Location Session όοΫάϥ΢ϯυ ͰͷҐஔ৘ใ 3 Beacon Ranging ϏʔίϯྖҬ؍ଌ ✔ σόΠεઃஔ 4 Geographical Region Monitoring ஍ཧతྖҬ؍ଌ ✔ ೚ҙͷՕॴొ࿥ 5 Visit Monitoring ๚໰ઌ௥੻ ✔ ৔ॴొ࿥ͳ͠ 6 Significant Location Change Monitoring େ෯มߋҐஔ৘ใ ✔ େ͖͘Ҡಈͨ͠ ৔߹ Ґஔ৘ใ࣮૷ํ๏ͷ؆୯ͳ·ͱΊ

Slide 16

Slide 16 text

ࠓ೔࿩͢಺༰ GeoFenceػೳͱ͸ ɹ1. ಛ௃ͱ੍ݶ ɹ2. ࣮૷ํ๏ ɹ3. Tips΍௚໘ͨ͠໰୊ͳͲ ·ͱΊ

Slide 17

Slide 17 text

ಛ௃

Slide 18

Slide 18 text

ಛ௃ 1. SuspendedɺNot Runningͷঢ়ଶͰ΋ݕ஌ಈ࡞ܧଓ

Slide 19

Slide 19 text

ಛ௃ 1. SuspendedɺNot Runningͷঢ়ଶͰ΋ݕ஌ಈ࡞ܧଓ ɹɹˠ ͭ·ΓΞϓϦ͕ࢮΜͰ͍ͯ΋ݕ஌Մೳʂ

Slide 20

Slide 20 text

ಛ௃ 1. SuspendedɺNot Runningͷঢ়ଶͰ΋ݕ஌ಈ࡞ܧଓ 2. লόοςϦʔফඅ

Slide 21

Slide 21 text

ಛ௃ 1. SuspendedɺNot Runningͷঢ়ଶͰ΋ݕ஌ಈ࡞ܧଓ 2. লόοςϦʔফඅ 3. ௥ՃσόΠεෆཁͰ೚ҙͷ஍఺Λొ࿥Մೳ

Slide 22

Slide 22 text

੍ݶ

Slide 23

Slide 23 text

1. ਫ਼౓ͷݶք : ੍ݶ

Slide 24

Slide 24 text

1. ਫ਼౓ͷݶք : ʮςετ໨తͷ৔߹͸ɺ࠷খڑ཭͸໿200ϝʔτϧͰ͋Δ ͱԾఆ͢Δ͜ͱ͕Ͱ͖·͢ɻʯ “Ґஔ৘ใͱϚοϓ ϓϩάϥϛϯάΨΠυ” ΑΓ ੍ݶ

Slide 25

Slide 25 text

1. ਫ਼౓ͷݶք : 100m୯Ґ ʮςετ໨తͷ৔߹͸ɺ࠷খڑ཭͸໿200ϝʔτϧͰ͋Δ ͱԾఆ͢Δ͜ͱ͕Ͱ͖·͢ɻʯ “Ґஔ৘ใͱϚοϓ ϓϩάϥϛϯάΨΠυ” ΑΓ ੍ݶ

Slide 26

Slide 26 text

1. ਫ਼౓ͷݶք : 100m୯Ґ 2. ݕ஌λΠϛϯάͷ஗͞ : ੍ݶ

Slide 27

Slide 27 text

1. ਫ਼౓ͷݶք : 100m୯Ґ 2. ݕ஌λΠϛϯάͷ஗͞ : ʮϢʔβͷҐஔ͕ྖҬͷڥքઢΛԣஅ͠ɺ͜ͷڥքઢ͔Β ࠷খڑ཭͚ͩ཭Ε͔ͯΒɺ͜ͷҐஔΛগͳ͘ͱ΋20ඵؒอ ࣋͠ͳ͍ͱɺ௨஌͸ใࠂ͞Ε·ͤΜɻʯ “Ґஔ৘ใͱϚοϓ ϓϩάϥϛϯάΨΠυ” ΑΓ ੍ݶ

Slide 28

Slide 28 text

1. ਫ਼౓ͷݶք : 100m୯Ґ 2. ݕ஌λΠϛϯάͷ஗͞ : ʮϢʔβͷҐஔ͕ྖҬͷڥքઢΛԣஅ͠ɺ͜ͷڥքઢ͔Β ࠷খڑ཭͚ͩ཭Ε͔ͯΒɺ͜ͷҐஔΛগͳ͘ͱ΋20ඵؒอ ࣋͠ͳ͍ͱɺ௨஌͸ใࠂ͞Ε·ͤΜɻʯ “Ґஔ৘ใͱϚοϓ ϓϩάϥϛϯάΨΠυ” ΑΓ ɹɹIN : ໿10ඵҎ಺ ɹɹOUT : 1ʙ15෼ఔͷ஗Ε ੍ݶ

Slide 29

Slide 29 text

1. ਫ਼౓ͷݶք : 100m୯Ґ 2. ݕ஌λΠϛϯάͷ஗͞ : Outݕ஌͸1ʙ15෼ޙ ʮϢʔβͷҐஔ͕ྖҬͷڥքઢΛԣஅ͠ɺ͜ͷڥքઢ͔Β ࠷খڑ཭͚ͩ཭Ε͔ͯΒɺ͜ͷҐஔΛগͳ͘ͱ΋20ඵؒอ ࣋͠ͳ͍ͱɺ௨஌͸ใࠂ͞Ε·ͤΜɻʯ “Ґஔ৘ใͱϚοϓ ϓϩάϥϛϯάΨΠυ” ΑΓ ɹɹIN : ໿10ඵҎ಺ ɹɹOUT : 1ʙ15෼ఔͷ஗Ε ੍ݶ

Slide 30

Slide 30 text

1. ਫ਼౓ͷݶք : 100m୯Ґ 2. ݕ஌λΠϛϯάͷ஗͞ : Outݕ஌͸1ʙ15෼ޙ 3. ஍఺ొ࿥਺: ੍ݶ

Slide 31

Slide 31 text

1. ਫ਼౓ͷݶք : 100m୯Ґ 2. ݕ஌λΠϛϯάͷ஗͞ : Outݕ஌͸1ʙ15෼ޙ 3. ஍఺ొ࿥਺: 1ΞϓϦʹ͖ͭ20Օॴ·Ͱ ੍ݶ

Slide 32

Slide 32 text

ಛ௃ͱ੍ݶ ಛ௃: ɹ1. SuspendedɺNot Runningͷঢ়ଶͰ΋ݕ஌ಈ࡞ܧଓ ɹ2. লόοςϦʔফඅ ɹ3. ௥ՃσόΠεෆཁͰ೚ҙͷ஍఺Λొ࿥Մೳ ੍ݶ: ɹ1. ਫ਼౓ͷݶք : 100m୯Ґ ɹ2. ݕ஌λΠϛϯάͷ஗͞ : Outݕ஌͸1ʙ15෼ޙ ɹ3. ஍఺ొ࿥਺: 1ΞϓϦʹ͖ͭ20Օॴ·Ͱ

Slide 33

Slide 33 text

ࠓ೔࿩͢಺༰ GeoFenceػೳͱ͸ ɹ1. ಛ௃ͱ੍ݶ ɹ2. ࣮૷ํ๏ ɹ3. Tips΍௚໘ͨ͠໰୊ͳͲ ·ͱΊ

Slide 34

Slide 34 text

࣮૷ํ๏

Slide 35

Slide 35 text

1. Ґஔ৘ใऔಘڐՄ ࣮૷ํ๏

Slide 36

Slide 36 text

1. Ґஔ৘ใऔಘڐՄ ɹɹinfo.plist ɹɹʮNSLocationAlwaysUsageDescriptionʯ௥Ճ ࣮૷ํ๏

Slide 37

Slide 37 text

// γϯάϧτϯͷϚωʔδϟΫϥε // GeoFenceManager.swift import CoreLocation private let locationManager = CLLocationManager() override init() { super.init() self.locationManager.delegate = self // Ґஔ৘ใ࢖༻ڐՄ֬ೝ(Always) self.locationManager.requestAlwaysAuthorization() }

Slide 38

Slide 38 text

// γϯάϧτϯͷϚωʔδϟΫϥε // GeoFenceManager.swift import CoreLocation private let locationManager = CLLocationManager() override init() { super.init() self.locationManager.delegate = self // Ґஔ৘ใ࢖༻ڐՄ֬ೝ(Always) self.locationManager.requestAlwaysAuthorization() }

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

2. ྖҬ؍ଌ։࢝ ࣮૷ํ๏

Slide 41

Slide 41 text

// ؍ଌྖҬੜ੒ let coordinate = CLLocationCoordinate2DMake(35.658517,139.701334) let region = CLCircularRegion(center: coordinate, radius: 200, identifier: “ौ୩Ӻ”) // ؍ଌ։࢝ self.locationManager.startMonitoringForRegion(region)

Slide 42

Slide 42 text

2. ྖҬ؍ଌ։࢝ ࣮૷ํ๏

Slide 43

Slide 43 text

3. IN/OUT ݕ஌࣌ͷॲཧΛ࣮૷ ࣮૷ํ๏

Slide 44

Slide 44 text

// GeoFenceManager.swift // ྖҬʹೖͬͨ௨஌ड৴ func locationManager(manager: CLLocationManager, didEnterRegion region: CLRegion) { if region is CLCircularRegion { print("GeoFence: In") } }

Slide 45

Slide 45 text

// GeoFenceManager.swift // ྖҬ͔Βग़ͨ௨஌ड৴ func locationManager(manager: CLLocationManager, didExitRegion region: CLRegion) { if region is CLCircularRegion { print("GeoFence: Out") } }

Slide 46

Slide 46 text

// GeoFenceManager.swift // ྖҬ؍ଌΛऴྃ func stopMonitoringGeoFenceItem(geoFenceItem: GeoFenceItem) { for region in self.locationManager.monitoredRegions { if region.identifier == geoFenceItem.identifier { self.locationManager.stopMonitoringForRegion(region) } } }

Slide 47

Slide 47 text

DEMO 1. ஍఺ͱ൒ܘઃఆ͠ྖҬ؂ࢹ։࢝ 2. ΞϓϦΛkill 3. γϛϡϨʔλͰҐஔಈ࡞ςετ 4. LINE BOT΁௨஌

Slide 48

Slide 48 text

ࠓ೔࿩͢಺༰ GeoFenceػೳͱ͸ ɹ1. ಛ௃ͱ੍ݶ ɹ2. ࣮૷ํ๏ ɹ3. Tips΍௚໘ͨ͠໰୊ͳͲ ·ͱΊ

Slide 49

Slide 49 text

ɾҐஔ৘ใ+ϝλ৘ใͷΫϥεΛ࡞ΓUserDefaultsͰอ࣋ ɾSingletonͷManagerΫϥεͰCLLocationManagerΛอ࣋ ɾIdentifierʹ͸UUIDΛઃఆ͍ͯ͠Δ ɾྖҬ؍ଌ։࢝࣌ʹطʹྖҬ಺ʹඋ͑ঢ়ଶݕ஌Λग़͢ ɾॳظ༗ޮ࣌ͷ଴ػ࣌ؒॲཧ ɾNSLogͩͱSystemLogʹ࢒Δ(printͰ͸࢒Βͳ͍) ɾγϛϡϨʔλͰҐஔઃఆ͠։ൃ ɾRegion MonitoringશফڈॲཧΛ࡞͓ͬͯ͘ͱศར ɾΞϓϦফ͢ͱྖҬ؍ଌ͸͢΂ͯফ͑Δ Tips

Slide 50

Slide 50 text

ɾҐஔ৘ใ+ϝλ৘ใͷΫϥεΛ࡞ΓUserDefaultsͰอ࣋ ɾSingletonͷManagerΫϥεͰCLLocationManagerΛอ࣋ ɾIdentifierʹ͸UUIDΛઃఆ͍ͯ͠Δ ɾྖҬ؍ଌ։࢝࣌ʹطʹྖҬ಺ʹඋ͑ঢ়ଶݕ஌Λग़͢ ɾॳظ༗ޮ࣌ͷ଴ػ࣌ؒॲཧ ɾNSLogͩͱSystemLogʹ࢒Δ(printͰ͸࢒Βͳ͍) ɾγϛϡϨʔλͰҐஔઃఆ͠։ൃ ɾRegion MonitoringશফڈॲཧΛ࡞͓ͬͯ͘ͱศར ɾΞϓϦফ͢ͱྖҬ؍ଌ͸͢΂ͯফ͑Δ Tips

Slide 51

Slide 51 text

ɾҐஔ৘ใ+ϝλ৘ใͷΫϥεΛ࡞ΓUserDefaultsͰอ࣋ ɾSingletonͷManagerΫϥεͰCLLocationManagerΛอ࣋ ɾIdentifierʹ͸UUIDΛઃఆ͍ͯ͠Δ ɾྖҬ؍ଌ։࢝࣌ʹطʹྖҬ಺ʹඋ͑ঢ়ଶݕ஌Λग़͢ ɾॳظ༗ޮ࣌ͷ଴ػ࣌ؒॲཧ ɾNSLogͩͱSystemLogʹ࢒Δ(printͰ͸࢒Βͳ͍) ɾγϛϡϨʔλͰҐஔઃఆ͠։ൃ ɾRegion MonitoringશফڈॲཧΛ࡞͓ͬͯ͘ͱศར ɾΞϓϦফ͢ͱྖҬ؍ଌ͸͢΂ͯফ͑Δ Tips

Slide 52

Slide 52 text

ɾྖҬ಺ͰྖҬ؂ࢹ։࢝ͨ͠ࡍʹ࣌ʑࣦഊ͢Δ໰୊ ɾελδΞϜۙྡॅຽ໰୊ ɾྖҬ಺଺ࡏͰ௨஌͕Կ౓΋དྷΔ໰୊ ɾ஍ԼమͰؼΔਓ໰୊ ɾಛٸʹ৐ͬͨΒ௨஌དྷͳ͔ͬͨ໰୊ ɾαʔό΁ͷ௨৴͕஗͍໰୊ ɾొ࿥Օॴ20ݸͷ੍ݶಥഁํ๏ ɾҐஔ৘ใِ૷ͷରࡦ ௚໘ͨ͠໰୊

Slide 53

Slide 53 text

ɾྖҬ಺ͰྖҬ؂ࢹ։࢝ͨ͠ࡍʹ࣌ʑࣦഊ͢Δ໰୊ ɾελδΞϜۙྡॅຽ໰୊ ɾྖҬ಺଺ࡏͰ௨஌͕Կ౓΋དྷΔ໰୊ ɾ஍ԼమͰؼΔਓ໰୊ ɾಛٸʹ৐ͬͨΒ௨஌དྷͳ͔ͬͨ໰୊ ɾαʔό΁ͷ௨৴͕஗͍໰୊ ɾొ࿥Օॴ20ݸͷ੍ݶಥഁํ๏ ɾҐஔ৘ใِ૷ͷରࡦ ௚໘ͨ͠໰୊

Slide 54

Slide 54 text

ྖҬ಺଺ࡏͰ௨஌͕Կ౓΋དྷΔ໰୊

Slide 55

Slide 55 text

ʲݱ৅ʳ ɹ؍ଌྖҬ಺ʹډଓ͚ͨ࣌ɺಥવIN/OUT͕ൃੜͨ͠ɻ ɹෆఆظʹ਺ճൃੜɻ ྖҬ಺଺ࡏͰ௨஌͕Կ౓΋དྷΔ໰୊

Slide 56

Slide 56 text

ʲݱ৅ʳ ɹ؍ଌྖҬ಺ʹډଓ͚ͨ࣌ɺಥવIN/OUT͕ൃੜͨ͠ɻ ɹෆఆظʹ਺ճൃੜɻ ʲରԠʳ ɹݕ஌ͦͷ΋ͷͷ੍ޚ͸೉͍͠ɻ ɹϢʔεέʔε͔Βߟ͑ͯରԠɻ ɹˠʮ2࣌ؒܦա͍ͯͨ͠Β௨஌ʯ΍ ɹɹʮ1೔ʹ1౓͚ͩ௨஌ʯͳͲϩδοΫͰରԠɻ ྖҬ಺଺ࡏͰ௨஌͕Կ౓΋དྷΔ໰୊

Slide 57

Slide 57 text

ࠓ೔࿩͢಺༰ GeoFenceػೳͱ͸ ɹ1. ಛ௃ͱ੍ݶ ɹ2. ࣮૷ํ๏ ɹ3. Tips΍௚໘ͨ͠໰୊ͳͲ ·ͱΊ

Slide 58

Slide 58 text

·ͱΊ ಛ௃: ɹ1. SuspendedɺNot Runningͷঢ়ଶͰ΋ݕ஌ಈ࡞ܧଓ ɹ2. লόοςϦʔফඅ ɹ3. ௥ՃσόΠεෆཁͰ೚ҙͷ஍఺Λొ࿥Մೳ ੍ݶ: ɹ1. ਫ਼౓ͷݶք : 100m୯Ґ ɹ2. ݕ஌λΠϛϯάͷ஗͞ : Outݕ஌͸1ʙ15෼ޙ ɹ3. ஍఺ొ࿥਺: 1ΞϓϦʹ͖ͭ20Օॴ·Ͱ

Slide 59

Slide 59 text

·ͱΊ ɾ࣮૷: ಈ͔͢ͷ͸೉͘͠ͳ͍ ɾ࣮ࡍ: ݱ࣮ੈքͰ࢖͓͏ͱ͢Δͱ໰୊ʹ௚໘͢Δɻ ɹɹɹ ࢖͍ํ͕ॏཁʂ·͡Ͱɻ

Slide 60

Slide 60 text

·ͱΊ ɾ࣮૷: ಈ͔͢ͷ͸೉͘͠ͳ͍ ɾ࣮ࡍ: ݱ࣮ੈքͰ࢖͓͏ͱ͢Δͱ໰୊ʹ௚໘͢Δɻ ɹɹɹ ࢖͍ํ͕ॏཁʂ·͡Ͱɻ ɹͰ΋ɺ࣮ࡍʹ௨஌͕དྷΔͱخ͍͠ʂ

Slide 61

Slide 61 text

ੋඇɺΩϨοΩϨͷΞϓϦΛ࡞͍ͬͯͩ͘͞ʂ

Slide 62

Slide 62 text

ऄ଍: GeoFenceϋοΧιϯ͋ͬͨΒ͜Μͳ෺࡞Γ͍ͨͳҊ ɾεϚʔτϗʔϜ ɹɹམͪࠐΜͩ࣌ʹެԂʹدͬͯؼΔͱՈి͕༏͍͠ ɹɹ؁͍΋ͷɺອը৽ץͷAmazonϦϯΫΛૹ৴ͯ͘͠Δ ɹɹδϜدͬͯؼΔͱϨϕϧΞοϓԻ ɾҰ೔ͷ༧ఆೖΕΔͱྑ͍ײ͡ʹ৔ॴ͕͖͔͚ͬͰϦϚΠϯμ ɾΧʔφϏΞϓϦ: ֶߍɺ͜Ͳ΋Ԃपลͩͱεϐʔυམͱ͢࢓૊Έ ɹɹɹˠɹֶߍपลͰ͸φϏͷ੠Λࢠڙʹมߋ ɾҧ͏֗ʹདྷΔͱBGM͕มΘΔ ɹɹɹˠɹ֗ͷ৘ใΛ఻ୡ + ԻָϥΠϒΠϕϯτͱ࿈ಈ ɾGeoFence࿈࠯ͰͷԾ૝ύϯͣ͘φϏήʔγϣϯήʔϜ GeoFenceDemo ιʔείʔυ https://github.com/satoshi0212/GeoFenceDemo

Slide 63

Slide 63 text

ࢀߟURL ɾҐஔ৘ใͱϚοϓ ϓϩάϥϛϯάΨΠυ https://developer.apple.com/jp/documentation/LocationAwarenessPG.pdf ɾCore Location Best Practices https://developer.apple.com/videos/play/wwdc2016/716/ ɾApple Sample Code: Regions: region monitoring, significant location changes, background location service, location service authorization https://developer.apple.com/library/ios/samplecode/Regions/Introduction/ Intro.html#//apple_ref/doc/uid/DTS40010726 ɾRegion Monitoring and iBeacon https://developer.apple.com/library/ios/documentation/UserExperience/ Conceptual/LocationAwarenessPG/RegionMonitoring/RegionMonitoring.html