CGRect mRect = CGRectMake(0,0,730,905);
UIGraphicsBeginImageContext(mRect.size);
[self.containerView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
mRect is any frame which you wanted to take screen shot and containerview is the view where we need to take the screenshot.
UIGraphicsBeginImageContext(mRect.size);
[self.containerView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
mRect is any frame which you wanted to take screen shot and containerview is the view where we need to take the screenshot.
What programming language did you use for this?
ReplyDeleteIs it similar to android app development?
Thanks!:)
IOS Development
Objective C is the Programming language....its not similar to Android. Its Apple technologies
ReplyDeleteiOS App Developers: You want your iPhone or iPad development to use only the most advanced solutions so that the app can have the latest features. This is only possible if the iOS developers are well versed in the latest version of the iOS. While having a personal interaction with your iPhone developers it will be a good idea if you can talk about their expertise in iOS and the versions that they are comfortable with. If you find that they do not have proficiency on the latest iOS versions, it's a good idea to look for somebody else.
ReplyDelete