Skip to content
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.

Latest commit

 

History

History
48 lines (30 loc) · 1.37 KB

README.mdown

File metadata and controls

48 lines (30 loc) · 1.37 KB

What is iTellAFriend?

 

iTellAFriend is an iOS toolkit for displaying a preconfigued mail composer with a "Tell a Friend" template in ios apps.

Installation

To install iTellAFriend into your app, drag the iTellAFriend.h, .m into your project.

iTellAFriend requires no configuration at all and will use the application's bundle ID to look the app ID up on the App Store.

To present the Tell A Friend email controller, use:

    if ([[iTellAFriend sharedInstance] canTellAFriend]) {
      UINavigationController* tellAFriendController = [[iTellAFriend sharedInstance] tellAFriendController];
      [self presentModalViewController:tellAFriendController animated:YES];
    }

To present the gift this app dialog:

 [[iTellAFriend sharedInstance] giftThisAppWithAlertView:YES];

To present the rate this app dialog:

    [[iTellAFriend sharedInstance] rateThisAppWithAlertView:YES];

       

Terms of Use

  • Provided under the Apache 2.0 License