---
title: "textStyling(at:in:)"
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: "browserenginekit/betextinput/textstyling(at:in:)"
---

# textStyling(at:in:)

Provides a dictionary that customizes the appearance of strings.

## Declaration

```swift
func textStyling(at position: UITextPosition, in direction: UITextStorageDirection) -> [NSAttributedString.Key : Any]?
```

## Discussion

Discussion The returned strings might pertain to text styling information for a correction rectangle, for example.
