<!--
{
  "availability" : [
    "iOS: 3.2.0 -",
    "iPadOS: 3.2.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextChecker/ignoreWord(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITextChecker(im)ignoreWord:"
  },
  "title" : "ignoreWord(_:)"
}
-->

# ignoreWord(_:)

Tells the text checker to ignore the specified word when spell-checking.

```
func ignoreWord(_ wordToIgnore: String)
```

## Parameters

`wordToIgnore`

A string that is a word the receiver should ignore when it is spell-checking a document.

## Discussion

The spell checker excludes ignored words as misspelled words during the current spell-checking session only.

---

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)