Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mfniaki

macrumors newbie
Original poster
Nov 24, 2009
10
0
I'm developing an application and there are some function which they called from a javascript page which I loaded in a webview. these functions set the badge number for my app.
the problem is, when I hide the app, or close or switch to other app, it seems my app doesn't work, javascript sends but my app seems is not active enough to receive and call the proper function.
how can I fix it that my app always be ready that ger called from javascript?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.