Currently, I have a note taking app with global text search feature. It is using standard UISearchController and able to provide the following UI outcome.
However, I would also like to provide a in-note text search feature. It should look very similar to "Find in Note" feature in Apple Notes.
Such the UI, is also found in Safari web browser.
I am not sure, is such an UI (With "Done", "Text field", "? of ? label", "x button", "next button", "prev button"), is it is standard UIKit component, or just a custom view?
Thanks.



You're looking for
UIFindInteraction, and the related classUIFindSessionand protocolUITextSearching. These APIs were added in iOS 16 (released late 2022).The second half of WWDC 2022: Adopt desktop-class editing interactions explains how to use these APIs.