When using the new searchable(text:) modifier introduced in SwiftUI 3, I am seeing that changing the accentColor using tint(_:) or even the deprecated accentColor(_:) modifier doesn’t work as expected as the “cancel” button remains blue. How would I approach this situation and change the foreground colour of it. Any help would be appreciated, Thanks in advance.
2
2
3.6k