SwiftUI: No voice input icon in field when using `searchable`

Hi,

After adding searchable to my view I see that here is no "voice input icon" in the top right of the field. Everything works if I open the keyboard and start voice input from there.

It looks like this:

Is there a way too show this "mic" icon like it shows in settings? In settings it looks like this:

Answered by DTS Engineer in 823272022

Currently, there's no supported way to customize the searchable view and include the voice input.

If you'd like us to consider adding the necessary functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here.

If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?

Accepted Answer

Currently, there's no supported way to customize the searchable view and include the voice input.

If you'd like us to consider adding the necessary functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here.

If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?

Hi @DTS Engineer ,

Thank for the response. I have submitted feedback with ID: FB16430866

SwiftUI: No voice input icon in field when using `searchable`
 
 
Q