reloading table

Posted by edie on Stack Overflow See other posts from Stack Overflow or by edie
Published on 2010-04-26T11:58:33Z Indexed on 2010/04/26 12:03 UTC
Read the original article Hit count: 239

Hi...

I've have a table view that consist of item list that depends on the item that were purchased using in app purchasing.

My question was how can I reload the tableView when the purchasing was completed/(or when new item was added on my list). The response of the storekit takes time to complete. Are there anyways to tell the app that the purchasing was completed and new item was added on my list so that I can reload my tableView.

At this time I reloading my table view by adding [myTableView reloadData] in viewWillAppear method. But what if the user was already viewing the tableView, I can't reload the tableView because the viewWillAppear had passed.

thanks...

© Stack Overflow or respective owner

Related posts about uitableview

Related posts about in-app-purchase