CNCopyCurrentNetworkInfo with iOS 13

后端 未结 10 1995
攒了一身酷
攒了一身酷 2020-12-10 00:56

Apple changed some things regarding WiFi with iOS 13. If you want to use CNCopyCurrentNetworkInfo your app needs to have one of the following

  • Apps with permiss
10条回答
  •  时光说笑
    2020-12-10 01:44

    For me, TryCopyCurrentNetworkInfo always return nil even with a network configured with NEHotspotConfiguration. I tried the the recommendation of Mateusz with setting the option JoinOne to false or true but it did not solve the issue.

    Phone OS is 13.1.3 Access WiFi information is enabled in my profile It was working in iOS 12

提交回复
热议问题