Post

Replies

Boosts

Views

Activity

'textInputSuggestions' is unavailable in iOS
VStack { TextField("Enter a location", text: $addressText) .textInputSuggestions { ForEach(suggestedVenues.filter { $0.name.lowercased().contains(addressText.lowercased()) || $0.address.lowercased().contains(addressText.lowercased()) }, id: \.id) { venue in Label(venue.name, systemImage: venue.image) .textInputCompletion(venue.address) } } .textFieldStyle(RoundedBorderTextFieldStyle()) .padding() Spacer() } .padding() } not working in IOS 18.2 ?? 'textInputSuggestions' is unavailable in iOS
1
0
80
1d