Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // With MYZazzleStore service it's really simple to add a gift shop to your application for your users.
- // With a few lines of code you can give your users the opportunity to purchase T-shirts personalized
- // mugs, iphone / ipad covers and other types of gifts. It also allows you to increase financial gains
- // and increase the popularity of your products.
- //
- // Is really very simple to add to your application a gift shop to offer your users.
- // With few lines of code you can give your users the opportunity to purchase T-shirts personalized
- // mugs, iphone / ipad cover and other types of gifts, also allowing you to add a further financial
- // gain and increasing the popularity of your products.
- //
- // In this version there is a detailed example of how to use the framework, but just use these
- // simple commands, listed below, to get full functionality :
- //
- // Product IDs
- // 0 iphone 3G/3GS covers
- // 1 iphone 4/4S cover
- // 2 greetings card
- // 3 mousepad
- // 4 mugs
- // 5 pillows
- // 6 stickers
- // 7 t-shirt for ladies
- // 8 t-shirt for man
- //
- string productID = 1;
- string youID = @"1234567"; // optional;
- string imageUri = @"http://funnycatwallpapers.com/wp-content/uploads/2012/08/white-bengal-cats.jpg";
- string uri = [NSString stringWithFormat:@"http://www.prioregroup.com/services/myzazzlestore.aspx?a=%@&p=@d&i=%@", youID, productID, imageUri];
- NSURL *url = [NSURL URLWithString:uri];
- [[UIApplication sharedApplication] openURL:url];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement