<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WiFiInfrastructure",
  "identifier" : "/documentation/WiFiInfrastructure/WIMACAddress/init(_:)-6044i",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Wi-Fi Infrastructure"
    ],
    "preciseIdentifier" : "s:18WiFiInfrastructure12WIMACAddressVyACSg10Foundation4DataVcfc"
  },
  "title" : "init(_:)"
}
-->

# init(_:)

Create a MAC Address from the provided data.

```
init?(_ macAddressData: Data)
```

## Parameters

`macAddressData`

The native value for the MAC Address as data.

## Return Value

The mac address, or `nil` if the input data was invalid and it could not be constructed.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)