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 07-17-2010, 01:54 AM   #1 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 16
thefrownedupon is on a distinguished road
Default UISlider initial value

i have an app that uses a slider and i am using the NSUserDefaults to tell my slider its value, but that works only when the user sets it, so say if they have only just installed the app for the first time then the slider value will be 0 and therefore causing you to not be able to use the app until you move the slider. is there any way to set the value until the user moves the slider. something like initial User Defaults?
thefrownedupon is offline   Reply With Quote
Old 07-17-2010, 03:18 AM   #2 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 41
Yellow is on a distinguished road
Default

try slider.value=0?

"slider" being the name of the object that u have created
Yellow is offline   Reply With Quote
Reply

Bookmarks

Tags
default, nsuserdefaults, slider, user

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: 332
14 members and 318 guests
akphyo, alexP, appservice, cgokey, EXOPTENDAELAX, flamingliquid, guusleijsten, mariano_donati, ohmniac, Paul Slocum, PavelSea, Rudy, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,653
Threads: 94,115
Posts: 402,888
Top Poster: BrianSlick (7,990)
Welcome to our newest member, ohmniac
Powered by vBadvanced CMPS v3.1.0

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