Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
iTellAFriend is an iOS toolkit for displaying a preconfigued mail composer with a "Tell a Friend" template in ios apps.
Branch: master
Pull request Compare This branch is 39 commits behind aporat:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
screenshots
src
.gitignore
LICENSE
NOTICE
README.mdown
iTellAFriend.podspec

README.mdown

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.

To enable iTellAFriend in your application you need to initialize iTellAFriend before the app has finished launching. The easiest way to do this is to add the iTellAFriend configuration code in your AppDelegate's, like this:


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{

....

  [iTellAFriend sharedInstance].appStoreID = 408981381;


  return YES;
}

To present the iTellAFriend controller, use:

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

       

Terms of Use

  • Provided under the Apache 2.0 License
Something went wrong with that request. Please try again.