In App purchase question

Discussion in 'iOS Programming' started by AndyCodez, Dec 7, 2009.

  1. AndyCodez macrumors regular

    Aug 6, 2009
    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!
  2. ghayenga macrumors regular

    Jun 18, 2008
    activityView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];

    [whateverView addsubview:activityView];

    [activityView startAnimating];
  3. AndyCodez thread starter macrumors regular

    Aug 6, 2009
    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.

Share This Page