2013-01-16 66 views

回答

3

試試這個。它會工作:

local function captureDeviceScreen() 
     local captured_image = display.captureScreen(true) 
     captured_image:scale(.5,.5) 
     local alert = native.showAlert("Success", "Captured Image is Saved to Library", { "OK" }) 
    end 
    Runtime:addEventListener("tap",captureDeviceScreen) 
3

一個google搜索生成此鏈接:How to capture a screen in corona

如果您有一個執行問題的話,請提供更多的信息,或者說你有什麼到目前爲止已經試過,所以我們知道接下來要去哪裏。