Push notification or thread with timer

Posted by neha on Stack Overflow See other posts from Stack Overflow or by neha
Published on 2010-05-27T05:49:02Z Indexed on 2010/05/27 5:51 UTC
Read the original article Hit count: 193

Hi all,

In my application, I'm having functionality like twitter that when you have not refreshed your screen, and if there're new messages then you get this message that "You have n new messages" and a refresh button, which on press will refresh the screen.

I'm basically fetching all the data from an xml with some url.

In case of thread, I need to call a timer after some time period which might affect the app performance.

Can anybody please suggest wheather what will be better to use push notifications or thread with timer?

Thanx in advance.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk