Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > PickerView Rotation - slot machine style - need help

PickerView Rotation - slot machine style - need help
Thread Tools
Fresh-Faced Recruit
Join Date: Aug 2008
Status: Offline
Reply With Quote
Aug 25, 2008, 03:11 PM
 
Hi,
I'm having a problem with the UIPickerView element in an app Im writing for iPhone.

The UIPickerView is the "slot machine" style rotating chooser that is used in the Timer application on the iPhone.

I am able to create an instance of UIPickerView and get to display and move, but - it only contains 10 items and when you reach the end of the list, it doesnt rotate back to the start again.

What I am trying to do is more like the Timer application where the choice can be continuously rotated over the same values...
Ive look at the API docs and there just does not seem to be a way to do this - anyone have any ideas on where I could look??

Thanks in advance!
BG
     
Fresh-Faced Recruit
Join Date: Aug 2008
Status: Offline
Reply With Quote
Aug 25, 2008, 09:19 PM
 
Im still not able to figure out how to get around this problem??

I guess a simple way to phrase the actual question would be - if you wanted to just replicate the spinning selector from the iPhone stopwatch - how would you do it?

Ive been trying all these rather hacky ideas like dynamically adding new elements to the spinner while its moving, but given that apple have multiple spinners that fully rotate in various places in the iPhone it seems strange they didn't just include a setFullRotation method on the UIPickerViewDelegate!
     
Fresh-Faced Recruit
Join Date: Sep 2008
Status: Offline
Reply With Quote
Sep 10, 2008, 04:17 AM
 
Hi

I´m trying to do the same without success , Did you find a workaround to this??

If so, can you help me with this??

Thanks

Fredy
     
   
Thread Tools
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -5. The time now is 07:50 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2