---
title: WebViewDidChangeSelection
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsnotification/name-swift.struct/webviewdidchangeselection
---

# WebViewDidChangeSelection

Posted when a web view changes its typing selection.

## Declaration

```swift
static let WebViewDidChangeSelection: NSNotification.Name
```

## Discussion

Discussion The notification object is the WebView that changed its typing selection. This notification does not contain a userInfo dictionary.

## See Also

### WebKit

- [WebHistoryAllItemsRemoved](foundation/nsnotification/name-swift.struct/webhistoryallitemsremoved.md)
- [WebHistoryItemChanged](foundation/nsnotification/name-swift.struct/webhistoryitemchanged.md)
- [WebHistoryItemsAdded](foundation/nsnotification/name-swift.struct/webhistoryitemsadded.md)
- [WebHistoryItemsRemoved](foundation/nsnotification/name-swift.struct/webhistoryitemsremoved.md)
- [WebHistoryLoaded](foundation/nsnotification/name-swift.struct/webhistoryloaded.md)
- [WebHistorySaved](foundation/nsnotification/name-swift.struct/webhistorysaved.md)
- [WebPreferencesChanged](foundation/nsnotification/name-swift.struct/webpreferenceschanged.md)
- [WebViewDidBeginEditing](foundation/nsnotification/name-swift.struct/webviewdidbeginediting.md)
- [WebViewDidChange](foundation/nsnotification/name-swift.struct/webviewdidchange.md)
- [WebViewDidChangeTypingStyle](foundation/nsnotification/name-swift.struct/webviewdidchangetypingstyle.md)
- [WebViewDidEndEditing](foundation/nsnotification/name-swift.struct/webviewdidendediting.md)
- [WebViewProgressEstimateChanged](foundation/nsnotification/name-swift.struct/webviewprogressestimatechanged.md)
- [WebViewProgressFinished](foundation/nsnotification/name-swift.struct/webviewprogressfinished.md)
- [WebViewProgressStarted](foundation/nsnotification/name-swift.struct/webviewprogressstarted.md)
