---
title: "webViewDidChangeTypingStyle(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/webeditingdelegate/webviewdidchangetypingstyle(_:)"
---

# webViewDidChangeTypingStyle(_:)

Sent by the default notification center when the user changes the typing style in the web view.

## Declaration

```swift
optional func webViewDidChangeTypingStyle(_ notification: Notification!)
```

## Parameters

- `notification`: Always set to doc://com.apple.webkit/documentation/WebKit/WebViewDidChangeTypingStyleNotification. You can retrieve the WebView object by sending object to notification.

## See Also

### Related Documentation

- [webView(_:shouldChangeTypingStyle:toStyle:)](webkit/webeditingdelegate/webview(_:shouldchangetypingstyle:tostyle:).md)
