searchView.isSubmitButtonEnabled = true
, as shown below after exercise:
How to change the submit button of the search box, operate as shown below:
Or
open SearchView to enter, the same
The submit button of the search box has been changed, as shown below: