1
我想改变从iOS的一些代码到Mac OS X,任何人都可以给我一些提示如何在iOS中改变这些用户界面到Mac OS X
UIGraphicsBeginImageContext(CGSizeMake(width , height));
[image drawInRect:CGRectMake(0, 0,width, height)];
image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
和
UIGraphicsGetImageFromCurrentImageContext();
和
UIImageJPEGRepresentation(newImage, 0.75);
谢谢。