I have my (sandbox) In App Purchase working, but how do I determine if the app is busy communicating with the server? I am having a rough time getting my normal ActiviyIndicator to work in this setting, the app seems to go in and out of responsiveness throughout the process. Then if the user closes the screen before finishTransaction, they can get caught in a human made loop where they might never get their download, if they keep closing the screen before the download is done.
Any examples or suggestions would be appreciated.
You should manage the communication by responding to the delegate method(s), and also implementing the SKPaymentTransactionObserver.
If the user closes the app before the transaction is completed, the process will/should be restored on the next time that the user opens the app.
http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/MakingaPurchase/MakingaPurchase.html#//apple_ref/doc/uid/TP40008267-CH3-SW1