objective c - Let video play using a slider -


i want have slider , video(let's 1 of 10 seconds) , when slider @ 0 imageview should set first image of video. when slider @ 0.3 imageview should show image that's displayed @ (3/10)*the length of video (in case 3 seconds). when slider @ 1 imageview should show image that's displayed @ end of video. use slider play video fast or slow.

can tell me code image of video @ specific second?

i don't want play second imaged should displayed @ second.

thanks in advance!

you error because, in parsing [[nsuserdefaults standarduserdefaults] integerforkey @"myscorelevel1"], compiler gets "integerforkey" , sees string literal after that. never legal syntax. [[nsuserdefaults standarduserdefaults] integerforkey] legal syntax, compiler complains of missing ].

of course, real problem missing : after "integerforkey", compiler not smart enough realize that.

(and of course using = instead of == problem, not 1 compiler has recognized yet. using = in place of == far common mistake, , it's 1 can't depend on compiler flagging. if gets through compile program can behave very strangely.)


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -