Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-19-2010, 10:44 PM   #1 (permalink)
Code before baby wakes up
 
RobotWoods's Avatar
 
Join Date: Sep 2009
Posts: 189
RobotWoods is on a distinguished road
Default [SOLVED] - UIPickerView not properly interactive

I have a small grouped table, most are text field edits, but two spawn pickers.

One is a single component list of names
One is a two component list of 0-9, and 0-.9
Both are populated the same way (nsmutablearray via componentsSeparatedByString)

The issue I'm having is a strange one about the areas of interactions.

On the first picker, the user can touch either the whitespace above the selector indicator bar, OR the area below, and move as they wish.

On the two component picker, the user can only spin the wheel by interacting with the area above the selector indicator bar. This is a bit problematic because the text (which I think is the natural place for the user to begin touching) is within the non-responsive area.

Both of the pickers are actually sitting on action sheets, but that portion of the code is a copy paste, so identical between them (aside from a name edit)

Any thoughts on elements to investigate? Does this sound familiar to anyone? Thanks for your help.

Last edited by RobotWoods; 09-21-2010 at 09:29 AM.
RobotWoods is offline   Reply With Quote
Old 09-20-2010, 11:23 AM   #2 (permalink)
Code before baby wakes up
 
RobotWoods's Avatar
 
Join Date: Sep 2009
Posts: 189
RobotWoods is on a distinguished road
Default

I double checked that all frames were the same just in case I was misaligning something...there is no difference between the working and non-working picker from that perspective.

I'm wondering if the short string length of each row (1 or 2 characters) is meaningful?

Thanks again.
RobotWoods is offline   Reply With Quote
Old 09-20-2010, 09:28 PM   #3 (permalink)
Code before baby wakes up
 
RobotWoods's Avatar
 
Join Date: Sep 2009
Posts: 189
RobotWoods is on a distinguished road
Default

Got it.

What I had not accounted for was that when the user selected fields on the lower portion of the screen, I would shift the view upwards. Since the action sheet frame was the same for both a shifted a non-shifted cell, only a part of the "touchable" area of the picker actually was aligned with the visible area of the picker.

What a mess.
RobotWoods is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 309
14 members and 295 guests
2ndSegment, cayladv57, cgokey, dermotos, djohnson, Domele, Hamad, linkmx, markuschow, pungs, Sloshmonster, teebee74, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,655
Threads: 94,116
Posts: 402,889
Top Poster: BrianSlick (7,990)
Welcome to our newest member, pungs
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:00 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0