Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Haroon Akhtar3,129 Points
How would i implement a 10s time picker so a user can select how long they wish to let another user view the message?
so i would have a time picker where i could select anywhere between 1 and 10 seconds for a user to view my message.
Caleb KleveterTreehouse Moderator 37,862 Points
I think you might be able to do that by creating an array that is connected to a slider for example then depending on were the slider is you can select a number from the array, then plug that number into the timer duration. I haven't done this before so I don't know if it will work.
These links are from the retired course ios foundations:
I don't remember which video you would want, I also don't know if code from iOS 5 will work for you.