Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

Badges

Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.

sacha1996

www.Loocy.in - The best shopping search engine for Apparel & Accessories. Please check it out.

About

Username
sacha1996
Joined
Visits
451
Last Active
Roles
Registered Users
Points
42
Badges
5
Posts
485
  • Selling in app purchase restore button!

    Jaxen66;437761 said:
    As the title says i am willing to sell my code.

    The price is only 10 bucks, so PM and i will send you my code :)
    It's not nice to sell a code that's available online in a tutorial: XCode Tutorials: How To: Implement In App Purchase The Easy Way, Ever.
    Oops! I forgot one more thing!

    Since you will be testing this in your device, you might want to test the IAP a few times. So we need to add another button (which will be hidden or just deleted when you submit the app) to reset the Keychain value.

    Just add a button... and implement IBAction for it as below:


    -(IBAction)deleteKeyChain:(id)sender {

    NSError *error = nil;

    [SFHFKeychainUtils deleteItemForUsername:@\"<span class=\"Apple-style-span\" style=\"font-family: Times; font-size: small;\">IAPNoob01</span>\" andServiceName:kStoredData error:&error];

    }


    To test the IAP process again, just tap the button and delete the app in your device, and then rerun it. The app's Feature 2 should be Locked again.

    Ok, now we're Done! Yay!
    Oral B