display.captureScreen(function(bSuc, filePath)--bSuc 标识截屏是否成功
if bSuc then --如果bSuc == true 将图片sprite添加到屏幕中央并缩放
print("aaa" .. filePath)
display.newSprite(filePath)
:center()
:scale(0.5)
:addTo(self)
:zorder(101)
end
end,"aa.png")
截取屏幕保存到filePath并显示在中央scale 0.5