Send to friend button
ChirpinGames
Member, PRO Posts: 214
Hey just wondering if there was a way maybe even from within xcode to add a simple send to friend button. Once tapped this button would open up the iphone email app, prepopulate the message field with something like "hey check out this game its great heres an itunes store link" and allow the user to simply pass on your game information to a friend. The actual code isnt to hard in xcode im just wondering how we would go about finding the button that we've created in gamesalad after exporting to xcode.
Cheers,
Mark
Cheers,
Mark
Comments
Check out this link about making that URL.
http://www.ianr.unl.edu/internet/mailto.html
Check out this link about making that URL.
http://www.ianr.unl.edu/internet/mailto.html
My account got upgraded today to the pro so I've begun to experiment with the send to friend button however i can't seem to get it working.
The only way i can get a link to work is if i put a http:// at the start eg http://www.google.com will work. Any ideas on how to get a mailto: to work anyone???
I used the example and just put in
mailto:astark1@unl.edu
and it opened my email with the To: filled in.
Thanks for the help. Yeah i tried mailto with a 'to address, subject and body'.
Did you test through the gsviewer or did u export to xcode?
Could it have been the subject and/or body that through it off...
I'll try just the normal one: mailto:astark1@unl.edu tonight and make sure i can get that working first.
cheers
http://email.about.com/library/misc/blmailto_encoder.htm it all good.
It just outputs the html slightly different and works perfectly!
Cheers for the help codemonkey.