Ranging Beacons in iOS 10

前端 未结 1 1115
孤街浪徒
孤街浪徒 2021-02-08 23:18

In my app, I use Beacon Region Monitoring in CoreLocation. The app sets 2 proximityUUID as region (they have different id), and start ranging like following.

#pr         


        
1条回答
  •  野性不改
    2021-02-08 23:55

    Ok, I had the same problem in Swift 3 but I resolved it.

    There seem to be two things (that are probably directly related):

    • for iOS10 the advertising interval of the beacon might be set too high (set it to about 200ms and then it should work on both 9 & 10 as advised by dantastic on Macrumors)

    • how I got it working again: I tested it on an iPad with iOS 9.3.5 and needed to change the Deployment target to 9.3. That showed it was working again both on my iPad with iOS 9, but... also resolved it on my iOS 10 devices.

    0 讨论(0)
提交回复
热议问题