Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-05-2009, 02:33 AM   #32 (permalink)
Dmoney
New Member
 
Join Date: Feb 2009
Posts: 43
Dmoney is on a distinguished road
Default

I'm using this code to save my screen shot and its working:
Code:
	UIGraphicsBeginImageContext(Background.bounds.size);
	[Background.window.layer renderInContext:UIGraphicsGetCurrentContext()];
	UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
	UIGraphicsEndImageContext();
	
	UIImageWriteToSavedPhotosAlbum(viewImage, nil, nil, nil);
It works but I'm getting warnings now:

warning: no '-renderInContext:' method found
warning: (Messages without a matching method signature
warning: incomplete implementation of class 'VCMenu'
warning: method definition for '-renderInContext' not found
Dmoney is offline   Reply With Quote
 

» Advertisements
» Online Users: 430
21 members and 409 guests
7twenty7, acegames, baja_yu, Byfone, ChrisYates, Duncan C, foany, haisergeant, hussain1982, jbro, mer10, monu_rastogi, mraalex, nyoe, PavelMik, QuantumDoja, rraagg, ryantcb, TheStalker, TheTakeOver, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,634
Threads: 94,096
Posts: 402,801
Top Poster: BrianSlick (7,990)
Welcome to our newest member, nyoe
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:17 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.