addChild(background) addChild(rate) addChild(scoreLabel) addChild(share) addChild(playAgain) addChild(highscoreLabel) addChild(scoreBackground) addChild(highscoreBackground)
UIGraphicsBeginImageContext(self.view!.bounds.size) self.view!.layer.renderInContext(UIGraphicsGetCurrentContext()) let screenshot = UIGraphicsGetImageFromCurrentImageContext() UIGraphicsEndImageContext() UIImageWriteToSavedPhotosAlbum(screenshot,nil,nil)
任何的意见都将会有帮助