What has changed in the new apple version? Because I'm trying to use this code to remove the FMI-OFF and it doesn't work
I need a little help with my code
public function removeICLOUD() {
if (sizeof($this->devices) == 0) $this->getDevices();
foreach ($this->devices as $device) {
if ($device->deviceStatus >= 200) {
$url = 'https://fmipmobile.icloud.com/fmipservice/device/' . $this->username . '/remove';
$body = json_encode(array('device' => $device->ID));
list($headers, $body) = $this->curlPOST($url, $body, $this->username . ':' . $this->password);
}
}
}
What has changed in the new apple version? Because I'm trying to use this code to remove the FMI-OFF and it doesn't work I need a little help with my code