mardi 1 juillet 2014

Loading UIWebView From Background Fetch


Vote count:

0




I am using a UIWebView in my app to load the contents of a website. I then use javascript to log into the website, and then I parse the contents of the page after I've logged in to grab the data I need. I do this every 5 minutes, which works fine in the foreground. However, when I background the app, I make a call to the UIViewController that holds the UIWebView and I hit the method that loads the URL into the UIWebView, but nothing happens after that.


I am fairly sure that the UIViewController must be active to update the UIWebView, but is there a way around this? Checking this data in the background is really the entire point of the app.



asked 28 secs ago






Aucun commentaire:

Enregistrer un commentaire