这个问题困扰了好长时间,参考了http://stackoverflow.com/questions/19571357/ios-sprite-kit-screengrab 这篇问题解决了。
我的spritekit截屏代码:
UIGraphicsBeginImageContextWithOptions(self.view.bounds.size, NO, 0.0);
[self.view drawViewHierarchyInRect:self.view.bounds afterScreenUpdates:YES];
self.sharingImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();