iTellAFriend is an iOS toolkit for displaying a preconfigued mail composer with a "Tell a Friend" template in ios apps.
Switch branches/tags
Nothing to show
Pull request Compare This branch is 27 commits behind aporat:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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