Advertisement
Guest User

Untitled

a guest
Jun 16th, 2012
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 KB | None | 0 0
  1. #include "Share.h"
  2. #include "SHK.h"
  3.  
  4. void Share::show()
  5. {
  6.     // Create the item to share
  7.     NSURL *url = [NSURL URLWithString:@"http://getsharekit.com"];
  8.     SHKItem *item = [SHKItem URL:url title:@"ShareKit is Awesome!"];
  9.    
  10.     // Get the ShareKit action sheet
  11.     SHKActionSheet *actionSheet = [SHKActionSheet actionSheetForItem:item];
  12.    
  13.     // Display the action sheet
  14.     [actionSheet showInView:[CCDirector sharedDirector].openGLView];
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement