Questions tagged [uipicker]

DO NOT USE. Please use the [tag:UIPickerView] tag

DO NOT USE. Please use the tag for all questions related to showing a spinning-wheel or slot-machine user interface on iOS.

142 questions
0
votes
3 answers

UIPicker & iOS 8

I created a UIPickerView in code only when it appears that iOS 8 the view the item is positioned at the top. How do I get it down? This is the code used: show actionsheet pickerActionSheet = [self…
Vincenzo
  • 39
  • 1
  • 5
0
votes
0 answers

To create dependency in UIPickerView controller with 3 components. Second component from first, and third from second

I have Picker with 3 components. My goal is create dependency the second component from first, and third from second. For example: when customer pick car maker AUDI in first component he will see list of models in second component: @"A3", @"A4",…
Sergey Z
  • 103
  • 11
0
votes
0 answers

How to popup a picker view in tableview row when I click the row label view. After clicking the done button, hide the picker

Now I have a table view. It have several rows. In one row, when I click on it, it should popup a picker view from bottom. After choosing, clicking the done button, it would be hidden. And value I picked in the picker should be passed to the row…
Linjiong Cai
  • 83
  • 1
  • 1
  • 5
0
votes
0 answers

Storing UIPicker data in a NSDictionary

I have a UIPicker within a Master-Detail View that contains 'categories'. I would like to set the 'category' to the NSDictionary for that item. The NSDictionary holds items with 'title' 'quantity' and 'category'. How can I get the UIPicker data to…
phillipppp
  • 13
  • 4
0
votes
1 answer

Custom Xcode Picker with Identity Inspector

I am trying to make a custom Xcode UIPicker with only numbers 1-10. Is there any simple way to do this with an Identity Inspector or if not, what is the best way to go about making this simple UIPicker? Thanks in advance!
Ryan E
  • 45
  • 1
  • 10
0
votes
0 answers

Remove shadow on iOS 7 UIPickerView

On the bottom of my standard picker view, there is a purple shadow. Is there a way to remove that or at least change the color? Thanks
JSON
  • 31
  • 4
0
votes
1 answer

(iOS) How to make first value in UIPickerView unselectable?

I'm using UIPickerView with (for example) 4 rows. The first value is "Pick a value" with gray text. The others are values the user should pick with black text. The picking is optional, so users could just skip it. But if they don't, how to make…
Palindrome
  • 161
  • 2
  • 11
0
votes
1 answer

Arrange picker to be in center of cell

I have an UITableView to which has a cell to which I add a custom picker ([[cell contentView] addSubview:picker]) with a custom size CGRectMake(0,0,320,180). On an iphone screen everything looks fine but on an ipad the picker is on the left side of…
0
votes
0 answers

How can I controll the number of UIPicker non-selected rows?

Here I have a picker with a Textfield above;however,these non-selected data row will cover my textfield lead me into the situation of unable to click the textfield to input data, thus I'd like to reduce the number of non-selected row appearance.Yes…
0
votes
1 answer

TextField With increment and decrement button

I have to use a textfield which gets number as input along with two buttons to increment and decrement the number. Is there something like this as shown in image? I am thinking of using textfield with two buttons. But it will be not be good as I…
Ali Hassan
  • 519
  • 6
  • 26
0
votes
3 answers

Custom UIPickerView crash in iOS 7

I had made a Custom UIPickerView with three Components each showing label on Selection Indicator which is working fine in iOS 6. But I am getting a crash in iOS 7. Here is my code: ViewController.h #define kDaysComponent 0 #define kHoursComponent…
Ajay
  • 1,622
  • 20
  • 36
0
votes
2 answers

change UIPicker highlighted tab width

I am using UIPicker in one of my project. I have UIPickerView of size & position as 58, 264, 204, 216 x y width height I am doing iOS 7 compatible app. in iOS 7, I want to show of width 204 only, but in iOS 6 and earlier version, I want to…
Fahim Parkar
  • 30,974
  • 45
  • 160
  • 276
0
votes
0 answers

how to programmatically change the components in a picker

I have a picker with 5 components and each component holds the same NSArray filled with @"1" up to @"5". My question is how do i go about being able to change the contents of the picker after the user enters in any number to seed a random generator…
Vince
  • 691
  • 1
  • 8
  • 18
0
votes
1 answer

UIPickerView interactive area for tapping cut off in iOS 7

When I make a long picker with multiple components, only the components near the center react to the tap-to-select feature. For example, if you want to pick the very next row under a selected row, you should be able to just tap it to make it…
Patrick
  • 1
  • 3
0
votes
1 answer

UIPicker does not appear in app

I was putting an UIPicker in the app but it does not appear in the app when I run it on my actual device. This is my until now - (NSInteger)numberOfComponentsInPickerView: (UIPickerView *)pickerView { return 1; } -…
AppleDevram
  • 67
  • 1
  • 12