jamztang
3/21/2012 - 7:01 AM

A snippet showing how to pin something to pinterest from your iOS app

A snippet showing how to pin something to pinterest from your iOS app

NSURL *url = [NSURL URLWithString:@"pinit12://pin/create/bookmarklet/?media=http%3A%2F%2Fimages.apple.com%2Fhome%2Fimages%2Fipad_hero.jpg&url=http%3A%2F%2Fwww.apple.com%2F&title=Apple&is_video=false&description=Test"];

[[UIApplication sharedApplication] openURL:url];