Home
The Apache License, 2.0 is an
open-source license.
Read full license
Copyright Adar Porat, all rights reserved.
iTellAFriend is an iOS toolkit for displaying a preconfigued mail composer with a "Tell a Friend" template in ios apps.
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];
}

Excellent component. Just implemented "iRate" that I found on bin press as well. This component was a bit more tricky for 2 reasons. #1: I had to either make it ARC compliant myself (which I did at first, then I found an updated version of this on github) and #2: I had linking problems (turns out it was due to me not adding MessageUI framework to my project). Works great after setup, 5 stars!- Matthew Boeck, 12 months ago
Copyright Adar Porat, all rights reserved.
Questions & Comments
Leave a comment
Log-in now or register for a free account.