Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
81 views

When I put a SwifUI segmented control in a navigation bar, liquid glass seems to be making it render incorrectly. The capsule has vertical clipping and the sides show layered backgrounds. Here is my ...
Siegfoult's user avatar
  • 1,867
1 vote
1 answer
69 views

I have been looking at how to explicitly dismiss a keyboard while allowing a picker on the same form to actually work. There are already various solutions on here that solve my issue, and I have a ...
Peter M's user avatar
  • 7,591
0 votes
1 answer
93 views

If I place a Picker or a Toggle in a SwiftUI Form, the associated label is always visible: But for a TextField, the label is only shown while the field is empty: And as soon as I start to fill in ...
Peter M's user avatar
  • 7,591
0 votes
0 answers
34 views

I cannot set the height of selected item in WheelPicker in iOS This is the code: Picker("Second Digit", selection: $secondDigit) { ForEach(0...9, id: \.self) { digit in Text(&...
igr's user avatar
  • 10.7k
-4 votes
1 answer
159 views

The issue I have a picker in my MAUI application, with its ItemSource and SelectedItem bound to properties in the page's ViewModel. I also have a button to reset the picker, by setting the property ...
GChapX's user avatar
  • 517
-1 votes
1 answer
95 views

I am trying to update a state variable that is an array of Strings that I get back from an API call. I want to display this array in a Picker. However, my Picker is completely blank. I know my api is ...
James_dude's user avatar
0 votes
1 answer
254 views

Is it possible to style a Picker of .pickerStyle(.menu) ? I want to change color of up-down arrows on the picker button and background color behind them.
Kaven's user avatar
  • 491
0 votes
1 answer
120 views

I have a following code with Picker in SwiftUI on iOS: enum Something: String, CaseIterable { case one case two case three } struct ContentView: View { @State private var something: ...
Leszek Szary's user avatar
  • 10.5k
1 vote
0 answers
49 views

Is there an easier way to change the text color of the items in a Picker on Android other than implementing your own AlertDialog or custom MAUI picker? I'm talking about the picker and no other ...
testing's user avatar
  • 20.3k
0 votes
1 answer
65 views

I have a page that displays a list of terms. Each term has a status. See models: public class Term : INotifyPropertyChanged { [PrimaryKey, AutoIncrement] public int Term_ID { get; set; } ...
Josh Webb's user avatar
0 votes
0 answers
78 views

In my dotnet maui picker, I am trying to have a picker with the SelectedItem already filled from my backend. However, the picker always sets it's SelectedId at -1, completely ignoring my backend. Here ...
MyselfAndOnlyMe's user avatar
2 votes
2 answers
296 views

All works fine on android but in iOS my picker doesn't open. I have tried to change style, remove style, but nothing works. My picker : <View style={[styles.pickerWrapper, styles.marge]}> ...
yggdraes13's user avatar
0 votes
1 answer
76 views

In my app there is a view with several pickers. If I select a value with one of them ($limits[index].from), a value that depends on it should be updated. Unfortunately, this does not work. Only when I ...
user2836375's user avatar
0 votes
1 answer
104 views

I'm trying to make a view with some pickers. The selections should be connected to a property of an binding array: @Binding var limits: [Limit] var body: some View { ForEach(limits) { limit in ...
user2836375's user avatar
1 vote
1 answer
124 views

Question How can I reduce excess space on the left in react-native-picker/picker? Background I want to use scrolling pickers in multiple places on a screen. These pickers will need to be efficient in ...
costa rica's user avatar
-1 votes
1 answer
96 views

I want to update picker item font size in .net maui for both android and ios. Please share solution. It will be very helpful Thanks in advance
Kirti Zare's user avatar
0 votes
0 answers
49 views

When I use the function " picker.pickImage(source: ImageSource.camera)", the following message appears in the console. I tried many ways that are in GitHub but none of them solved the ...
Mohammad Soleymani's user avatar
1 vote
1 answer
199 views

I am trying to change a value that is stored in class through a custom structure using a picker. I am trying to make an app that lists course name and grade. The picker is in a HStack with a name. I ...
Atharv Salokhe's user avatar
1 vote
0 answers
38 views

I'm using ion-picker in my ionic v7.2.0 project but it doesn't show the columns, only an empty gray rectangle is shown in my page, so I guess it's not consuming the columns of my ts. I have already ...
Gustavo Gr's user avatar
1 vote
1 answer
341 views

I'm trying to add a segmented picker in the NavigationBar under the title with SwiftUI. I've tried with the toolbar, but it was show on the top and not under the title. How can I achieve the result ...
Lorenzo Zorri's user avatar
0 votes
1 answer
50 views

I have this simple code: import SwiftUI struct ExampleView: View { @State private var selectedTab: String = "tab1" var body: some View { VStack { Picker("...
Lorenzo Zorri's user avatar
-1 votes
1 answer
59 views

WHAT I NEED: I've a stepper to set a value. This value is completely different if user is using the app with different units. WHAT'S THE PROBLEM: While I just play with the unit picker in the settings ...
Matte.Car's user avatar
  • 2,041
0 votes
1 answer
107 views

I’m working on a SwiftUI project where I have a Target protocol that conforms to Identifiable and Hashable. I have two structs, Silhouette and IPSC, that conform to this protocol. I want to display a ...
MohAliBou's user avatar
  • 265
0 votes
1 answer
184 views

I'm trying to implement a segmented picker with an additional behavior where tapping the selected option again deselects it. However, this code doesn't seem to function as intended. Picker(""...
loonn's user avatar
  • 3
0 votes
1 answer
100 views

I'm learning Swift and I came across this problem. I made an array for US states, and when I pass it in the picker for some reason it just reverses it. I solved it temporarily by reversing the states ...
Dillon's user avatar
  • 1
-1 votes
1 answer
63 views

I need to show 2 struct views in picker in tag 0 i need to show TaskHistoryView(activities: activities) why this is not showing inside tag 0 if i show it in separate view then showing but not showing ...
Swift's user avatar
  • 1,180
0 votes
1 answer
151 views

I have a SwiftUI view with a Picker that lists a set of objects, whose id are of type UUIDs. For the purpose of reducing the example to the minimum code, I've represented the whole object as UUIDs. ...
Enric's user avatar
  • 350
1 vote
2 answers
465 views

I have an app and I want to implement an option to change the app's accent color but only with a certain selection of colors and I want them inside of a picker with a label with a circle of each color ...
SantiOch's user avatar
-1 votes
1 answer
143 views

I'm trying to setup a picker with dynamic contents and a custom ID, but i'm running into issues getting this working. I'm probably going about this totally wrong. I'm getting information from a my ...
Ceri Turner's user avatar
0 votes
2 answers
244 views

I have cart items in a Grid inside a DataTemplate for showing CollectionView items. In the cart I have Add/Remove buttons with Commands that route to the CartViewModel and pass a CommandParameter of ...
Joelxxx's user avatar
  • 143
0 votes
1 answer
200 views

In this code, I'm experiencing two issues while selecting items in a Picker: This error occurs when selecting an item in the first Picker. The selection seems to be invalid, and I receive the above ...
miltenkot's user avatar
  • 339
1 vote
2 answers
509 views

I want to achieve these menus with a picker. The selected option only shows the text "Heart Rate" for example. And "<140 BPM" without the sf symbol. And currently I have 2 ...
Jalil's user avatar
  • 1,276
-1 votes
1 answer
128 views

I am importing data from an API, which means I cannot use an enum or a list for my picker. This took me a bit to sort out and I did not see any good answers for it, so here is my solution. The .task{} ...
whyDoICodeFrontEnd's user avatar
1 vote
1 answer
615 views

So, I'm upgrading a project from Xamarin to MAUI. Most has been ok, overall minor in most parts, but stuck on a picker control. I am good on all aspects of populating a list, binding that to the ...
DRapp's user avatar
  • 48.3k
1 vote
0 answers
108 views

I'm goign crazy trying to find a picker that can be cyclic, e.g. if we have a time from 1-12, once it goes past 12 it goes back to 1. I've found logical ways to do it but they're all clunky, There is ...
Liam Kelly's user avatar
1 vote
1 answer
370 views

I'm using .Net MAUI to build an app for watches (wear os and IOS): small screens. I'd like the user to select a number between 0 and 60. I've tried a picker, but the layout is horrible on small screen ...
Lou's user avatar
  • 467
1 vote
0 answers
168 views

i'm getting a problem with ngx-color-picker. In my project i have a list of element into a standard table using @for. In each row i have a column with a button where i can change the color of that row,...
Jany's user avatar
  • 57
1 vote
1 answer
253 views

I wish to use a picker with pickerStyle(.navigationLink) to select a value. The list of values is long and so I would expect the picker list on the new screen to scroll automatically to ensure the ...
Chris Lindsey's user avatar
0 votes
1 answer
239 views

I've encountered with strange displaying of Picker control (MAUI 8.0) on Android when I trying to arrange line by VerticalOptions="Start": At a glance is seems like this control has ...
Vitaly Filatenko's user avatar
0 votes
0 answers
162 views

When entering data for a medication in my Health app I want the user to select the doctor prescribing the medication! I have a table of doctors that I can @Query to build an array. How do I allow ...
John Bennett's user avatar
0 votes
0 answers
176 views

I am trying to create two Pickers, one dependent on the other. Both come from two SwiftData models Ruta and Parada. But I don't manage to paint the second one, if I try to binding the variable Parada, ...
Ricardo A.'s user avatar
1 vote
1 answer
492 views

In my SwiftUI app on macOS Sonoma I am using several Picker views. Here is one example: Picker("Berichtsart", selection: $report.reportType) { ForEach(ReportType.allCases) { option in ...
The Lone Coder's user avatar
1 vote
1 answer
99 views

I would like to create a Picker within my app's settings which allows the user to select their notification tone. Specifically, I want the user to be able to preview this tone before selecting it. My ...
Zack A's user avatar
  • 45
0 votes
2 answers
179 views

I am having trouble adding random images to the page by using a floating action button. After drawing an image from the .shuffle list, I want to draw another picture from the list. I could add more ...
Zoey's user avatar
  • 1
0 votes
0 answers
37 views

I have implemented a Picker in a sheet like in the following code: struct UserTabView: View { @Environment(\.modelContext) private var modelContext @Query private var userSkills: [...
D.Schall's user avatar
1 vote
3 answers
124 views

I can't save the selected timer value after leaving View. Briefly: the user enters the screen, selects the timer time, clicks save, the selected value is saved in UserDefaults. Then the person leaves ...
deshollow's user avatar
-1 votes
1 answer
156 views

I'm developing a Swift application for macOS. I would like it to be able to interact with the user's shortcuts (block programs in the Shortcuts application, fig. 1). But I can't locate them... Do you ...
iStuces's user avatar
  • 73
0 votes
1 answer
2k views

I have a picker control (SwiftUI) and I am having trouble setting the background colour correctly. In the below, I have set the background as GREEN, but notice there is a slightly darker overlayed ...
David's user avatar
  • 163
1 vote
1 answer
268 views

Using .NET8 with MAUI, on an Android 13 device, I am trying to implement a Picker with an ItemSource on a complex object. However, may it be through using the SelectionIndexChanged event, binding ...
5coJL's user avatar
  • 11
1 vote
1 answer
118 views

I am currently learning Swift and have encountered a problem with SwiftUI for which I cannot find a solution. When I create a picker with text and an image, for example, I am unable to format them. I ...
CFG's user avatar
  • 11

1
2 3 4 5
33