I want share my application iPad screen with other devices which are running the same application.
More detail: My application is a meeting application. Now I want that those who are the participants of that particular meeting can my screen when I share my application screen.
Conclusion: I want to share my app screen with other devices which have running the same app, JUST like Skype screen share.
You will be needing a server for this. Its a long process. Briefing you with the overall details
Loop the process.
UIGraphicsBeginImageContext(self.window.bounds.size);
[self.window.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
NSData * data = UIImagePNGRepresentation(image);
[data writeToFile:@"foo.png" atomically:YES];