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

View Single Post
Old 02-27-2009, 12:56 PM   #1 (permalink)
Terenn
New Member
 
Join Date: Feb 2009
Posts: 5
Terenn is on a distinguished road
Default UIScrollView freezing NSTimer

Hi everyone. I'm working on a simple beat generator, and here's a problem I really don't understand :

- I have 2 tracks. So I want to flip from one to an other using a UIScrollView, like flipping tabs in Safari. It works.

- I set a NSTimer to trigger the beat, for instance to play my sound every second. It works.


BUT ! When I try to slide between the tracks, my Timer is frozen during the scrolling transition. For a live performance instrument, it is very unconvenient. I've tried to put my NSTimer at different levels in my code, but the problem is always the same.


Anyone can help ?

Last edited by Terenn; 02-27-2009 at 04:28 PM. Reason: better choice of words
Terenn is offline   Reply With Quote
 

» Advertisements
» Online Users: 482
20 members and 462 guests
7twenty7, acegames, baja_yu, buggen, BumChinBooth, ChrisYates, dbramhall, Duncan C, Free App Monster, ioani, jbro, lemonberry, LunarMoon, monu_rastogi, muhimranss, nyoe, orninn, QuantumDoja, TheTakeOver, Wikiboo
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,634
Threads: 94,094
Posts: 402,795
Top Poster: BrianSlick (7,990)
Welcome to our newest member, nyoe
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:06 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.