<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -",
    "tvOS: 15.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIFocusSystem/focusSystem(for:)-7tm2f",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So13UIFocusSystemC5UIKitE05focusB03forABSgSo0A11Environment_p_tFZ"
  },
  "title" : "focusSystem(for:)"
}
-->

# focusSystem(for:)

```
@MainActor @preconcurrency class func focusSystem(for environment: any UIFocusEnvironment) -> UIFocusSystem?
```

---

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)