Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Share.h"
- #include "SHK.h"
- void Share::show()
- {
- // Create the item to share
- NSURL *url = [NSURL URLWithString:@"http://getsharekit.com"];
- SHKItem *item = [SHKItem URL:url title:@"ShareKit is Awesome!"];
- // Get the ShareKit action sheet
- SHKActionSheet *actionSheet = [SHKActionSheet actionSheetForItem:item];
- // Display the action sheet
- [actionSheet showInView:[CCDirector sharedDirector].openGLView];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement