GiftKit is a class that you can add to any iOS app and then allow you to prompt your users to Gift the app in the App Store.
GiftKit is GiftKit is heavily inspired by and borrows lots of code from [Appirater] appiraterlink
The GiftKit prompt will appear in every new build version of your app.
Feel free to modify and share your changes with the world. Check out the #idevblogaday [blog post I wrote about GiftKit] bloglink.
- Add the GiftKit to your project
- Add the
CFNetwork
andSystemConfiguration
frameworks to your project - Call
[GiftKit appLaunched:YES]
at the end of your app delegate'sapplication:didFinishLaunchingWithOptions:
method. - Call
[GiftKit appEnteredForeground:YES]
in your app delegate'sapplicationWillEnterForeground:
method. - (OPTIONAL) Call
[GiftKit userDidSignificantEvent:YES]
when the user does something 'significant' in the app. - Finally, set the
GIFTKIT_APP_ID
inGiftKit.h
to your Apple provided software id. - (OPTIONAL) Change days/uses/alert text in
GiftKit.h
to suit your needs. - (OPTIONAL) Add a
Gift this app
to allow the user to Gift more times in the same version - or without having to wait for the prompt! Call[GiftKit giftApp]
to jump directly to your App's App Store page.
Copyright 2011 [Rune Madsen] rune. This library is distributed under the terms of the MIT/X11.
If you have any changed and updates to GiftKit, feel free to add them so the whole community can enjoy them! :)