UIView drawing problem.
Posted
by toc777
on Stack Overflow
See other posts from Stack Overflow
or by toc777
Published on 2010-04-12T19:19:03Z
Indexed on
2010/04/12
19:23 UTC
Read the original article
Hit count: 316
objective-c
|iphone
Hi everyone,
I have this big problem that i dont know how to fix. I have a UIView that i want to draw a scrolling background on. I am using NSTimer to update 30 frames per second but it seems to redraw one frame every 8 seconds. I am calling [self setNeedsDisplay] but it has no effect. I cant figure out why this is happening, does anyone have any tips?
Thanks for your time.
© Stack Overflow or respective owner