Timer running while on home screen iPhone - Objective C

Posted by Franky on Stack Overflow See other posts from Stack Overflow or by Franky
Published on 2010-06-11T18:03:13Z Indexed on 2010/06/11 18:13 UTC
Read the original article Hit count: 241

Hello,

I am interested in building a Timer Based game such as mafia wars or soemthing like that. I'm stuck on one question.

What would be the best way to retain a timer, even if the app is closed?

Should I do this based on the Device Clock? or should I set a time to a server, and get the time when the device starts up?

If any one knows a better way for this,

let me know. Thanks.

@lessfame

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c