How to disable wifi support without user interaction

I have several URLs that need to be called (programmatically) via Wi-Fi and not with mobile data.

Since WIFI ASSIST is turned on, whenever wifi is weak, packets are transmitted through Mobile data.

I would like to stop it.

As far as I researched, there is no API to turn wifi assist switch on and off

I can find out if the user has mobile data and Wi-Fi using the Reachability I class, and I can warn the user that he supports wifi, but this is a very bad user interface.

so I decided to see if this is possible using the iOS mobile configuration file.

But I could not find any keys related to wifi-assist in the Apple configuration profile directory.

so I'm wondering if wifi can be used for specific urls.

I remember that this is possible using VPN ON DEMAND, we can have access to certain domains via VPN.

I am wondering if this is possible for Wi-Fi as well as through the configuration profile

Any suggestions are welcome.

+4
source share
3 answers

As already mentioned, there is no way to do this with programmatic control in iOS. This is actually not what you are asking for, as you seem to already know that the answer to this question is "No."

, , . , , , Wi-Fi Assist.

, , , , . , , , Wi-Fi (, Wi-Fi). , , . , Wi-Fi , , . , iOS Wi-Fi Assist, , .

, , Wi-Fi. AllowCellularData - false ( . this). , , , , Wi-Fi Assist , iOS Wi-Fi, , . , , WiFi, . , , , . , false , Wi-Fi Assist . MDM, , .

, , , , , , . , . , , Wi-Fi , . , , Wi-Fi .

- , , VPN , . , , , .

, , . , - .

, . , - , , , - WiFi Assist : https://sonos.custhelp.com/app/answers/detail/a_id/4257/~/wi-fi-assist-and-sonos

, , Wi-Fi. , , , .

Apple Wi-Fi Assist:

  • Wi-Fi Assist , .
  • Wi-Fi Assist , , .
  • Wi-Fi Assist , , , , .

, , , - Wi-Fi, Wi-Fi Assist. , , .

!

+3

API, / "Wi-Fi Assist", , .

+1

, Wi-Fi , API.

0
source

Source: https://habr.com/ru/post/1696021/


All Articles