×

Set WiFi

iOS 14 +

Notes

Sets the state of the devices WiFi connection.

Syntax

setWiFi(state: <#Boolean#>)

Example

setWiFi(state: true)