ChenYilong / ChenYilong/iOS13AdaptationTips

Network

Open
#24 2 comments 0 reactions 0 assignees View on GitHub
note
Dominant language
No language data
Stars
170
Forks
5
PR merge metrics
No merged PRs in 30d

Description

原文链接: https://github.com/ChenYilong/iOS13AdaptationTips/issues/24

## CNCopyCurrentNetworkInfo() does NOT work on iOS13

2019August08-推送:

![](http://ww3.sinaimg.cn/large/006tNc79ly1g5s1uf4chqj30u01sxwhy.jpg)

![](http://ww1.sinaimg.cn/large/006tNc79ly1g5s1u5dyudj30u01sxdlc.jpg)
![](http://ww4.sinaimg.cn/large/006tNc79ly1g5s1v02qw8j311d0u0dpa.jpg)

已经有哥们儿 work around了:
Fix CNCopyCurrentNetworkInfo() does NOT work on iOS13

- [`Fix CNCopyCurrentNetworkInfo() does NOT work on iOS13
`]( https://github.com/HackingGate/iOS13-WiFi-Info )

评价:

work around方案获取 wift信息还要先位置授权。
BSSID是无线AP的唯一编码,这玩意拿到了跟定位没啥区别。

但一般用户的感知可能正好相反。
拿我Wi-Fi可以,别拿我的坐标。

那没有的获取wifi,后面其他方案的定位准么?

目前看只能是室外GPS定位了。

## 相关讨论
iTeaTime(技术清谈)@张二板-iOS-南京:
A: iOS要想拿到附近的wifi列表要向苹果爸爸申请,不申请的话,只能拿到当前手机连接的那个wifi信息。

Q:就是安卓可以直接获取啊 iOS要根据uuid
安卓可以直接获取到附近的wifi列表并且拿到BSSID(MAC地址)

A:
我去年遇到这个问题的,然后主动帮产品经理设计了一版适合iOS的原型:
![](http://ww3.sinaimg.cn/large/006tNc79ly1g5s1owxb68j30u01o0qv6.jpg)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.