Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
31 views

How can I change the search scope when a user taps on a search suggestion?

I am attempting to implement search functionality similar to that of the App Store on iOS, with the addition of search scopes. Most of the search functionality is working correctly, as users can ...
Pieter's user avatar
  • 181
0 votes
2 answers
224 views

Issue with SwiftUI NavigationStack, Searchable Modifier, and Returning to Root View (iOS18)

I'm facing an issue with SwiftUI's NavigationStack when using the searchable modifier. Everything works as expected when navigating between views, but if I use the search bar to filter a list and then ...
Zied Mcharek's user avatar
0 votes
0 answers
20 views

Is there a way to disable SwiftUI search bar without opting for UINavigationController?

I'm trying to disable the .searchable when the screen is in edit mode (similar to Notes). I found out that it's not possible to disable the search bar with SwiftUI. UIKit has a .userInteractionEnabled ...
Roman Banks's user avatar
1 vote
1 answer
58 views

Connecting a button to .searchable modifier

I have an app with SampleData of country names displayed in a list with the searchable modifier. I also have button on the bottom right of the screen. This is all within the NavigationStack: ...
fbablu's user avatar
  • 13
1 vote
0 answers
49 views

SwiftUI RTL issue in search field options menu

The search field options menu, shows it content flipped in Right to left languages like Arabic, as you can see in screenshot below the only thing I did is adding the searchable to navigation stack ....
user13474651's user avatar
1 vote
1 answer
51 views

RTL language issue in SwiftUI

I have issue in SwiftUI with Right to Left Languages (Arabic) The navigation bar is correct, but check the list row and text editor, its flipped to the left edge, which it must be in the right edge in ...
user13474651's user avatar
1 vote
0 answers
263 views

How to add a searchable textfield at the middle of the screen in SwiftUI? ( not at the top )

I would like to make the textfield below "Add Party Members" to be searchable. Upon googling and reading through the documentation , learned that a .searchable modifier exists but the ...
sanjay_siddharth's user avatar
0 votes
1 answer
1k views

How to open collapsed List Sections on focus of Search Bar?

In my SwiftUI app, I have a List with a collapsible Section of row items. I'm using SwiftUI's .searchable on the list. When a user runs a search from the search bar, all the collapsed sections remain ...
Sam's user avatar
  • 2,495