RMGiftKit 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.
RMGiftKit is heavily inspired by and borrows lots of code from [Appirater] appiraterlink
The RMGiftKit 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 RMGiftKit (formerly GiftKit)] bloglink.
- Add the RMGiftKit to your project
- Add the
CFNetwork
andSystemConfiguration
frameworks to your project - Call
[RMGiftKit appLaunched:YES]
at the end of your app delegate'sapplication:didFinishLaunchingWithOptions:
method. - Call
[RMGiftKit appEnteredForeground:YES]
in your app delegate'sapplicationWillEnterForeground:
method. - (OPTIONAL) Call
[RMGiftKit userDidSignificantEvent:YES]
when the user does something 'significant' in the app. - Finally, set the
GIFTKIT_APP_ID
inRMGiftKit.h
to your Apple provided software id. - (OPTIONAL) Change days/uses/alert text in
RMGiftKit.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[RMGiftKit 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 RMGiftKit, feel free to add them so the whole community can enjoy them! :)