Asynchronously finds all instances of the specified string in the document.
- iOS 11.0+
- macOS 10.4+
This method returns immediately. It causes notifications to be issued when searching begins and ends, on each search hit, and when the search proceeds to a new page. For options, refer to Searching, Comparing, and Sorting Strings.