I have a UIImage which comes from CGContext,
Now i need to send that image through GameCenter and the other player on the other end should receive that image
AnyLink or Code is accepted.
Kindly do help me to sort out this.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Do you have the code that connects players so they are able to receive and send NSData?
If so, simply convert the UIImage to NSData and send it.
If not, check this tutorial for gamecenter communication:
http://www.raywenderlich.com/3276/how-to-make-a-simple-multiplayer-game-with-game-center-tutorial-part-12