PDA

View Full Version : In App purchase question




AndyCodez
Dec 7, 2009, 07:17 AM
I pretty much have everything implemented that should be for this functionality but one thing is bothering me. During the purchase process there are multiple alerts popped up by the storekit and there is that wait inbetween screens as it is loading / checking/ ect information from itunes.

During this time the user can use functionality in the app, I would like to add uiindicatorview so the user knows something in the app store is occuring.

One question is does apple provide any "easy" way of implementing this within their code. or would i need to imeplement a thread of sorts to run in the background while this is occuring. Or just leaving the purchase alerts as is, it seems like apple would like some sort of indicator that the purchase is in mid process.

Any thoughts on this issue would be great!



ghayenga
Dec 7, 2009, 05:29 PM
I pretty much have everything implemented that should be for this functionality but one thing is bothering me. During the purchase process there are multiple alerts popped up by the storekit and there is that wait inbetween screens as it is loading / checking/ ect information from itunes.

During this time the user can use functionality in the app, I would like to add uiindicatorview so the user knows something in the app store is occuring.

One question is does apple provide any "easy" way of implementing this within their code. or would i need to imeplement a thread of sorts to run in the background while this is occuring. Or just leaving the purchase alerts as is, it seems like apple would like some sort of indicator that the purchase is in mid process.

Any thoughts on this issue would be great!

activityView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];

[whateverView addsubview:activityView];

[activityView startAnimating];

AndyCodez
Dec 7, 2009, 09:54 PM
activityView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];

[whateverView addsubview:activityView];

[activityView startAnimating];

Lol I know the code, I just don't know if you can do it in between the alert views that pop up as part of the in app purchase methods.