ios - 怎么在objective-c中同时获得beacon的name,major,minor值?
巴扎黑
巴扎黑 2017-04-18 09:05:41
0
1
349

我想在APP中展示附近的beacon,需要beacon的name,major,minor,我用的是微信的UUID,现在
这个方法可以获得major,minor和UUID,但是获取不到name。

这个方法可以获得name,但是我没办法把两个方法获取的参数统一起来,不知道怎么一一对应。

巴扎黑
巴扎黑

reply all (1)
巴扎黑

There are actually people making beacons, I miss them so much.

When I was making Beacon, I only used the first method. In my impression, there is no field like name. The second method is CoreBlueTooth, which seems to be Apple's security requirement. It will not let you access the details of the beacon, which means that only the monitor can get the details of the beacon, so the second method should not be available.

When we do it, business fields like name are stored in the server and correspond to major and minor one-to-one. For example, if I get major and minor, I can request the corresponding name and other details from the server, or I can cache this request locally, which is an idea.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!