我知道可以在自己的應用程序中截取屏幕截圖,但是我想知道是否有可以在任何視圖中捕獲屏幕截圖的應用程序,只要應用程序它打開。我很確定它不可能,但我只是想仔細檢查。謝謝。屏幕截圖應用程序,可以在任何視圖中截圖
1
A
回答
6
不,您無法在iOS上與沙箱以外的其他應用程序進行交互。
2
它的iOS默認值。如果您同時按下Home + Power
按鈕,iOS設備將截屏並將截圖存儲在您的照片應用程序中。
1
換句話說,你想窺探其他應用程序。就像用戶的銀行信息一樣。現在這個問題被重新解釋了,我敢打賭你知道答案(以及爲什麼即使提交功能請求也不會改變)。
+0
否。該應用程序將被用戶用來拍攝「屏幕視頻」,這些視頻將存儲到他們的照片應用程序中。不要窺探人們的銀行信息。 – user1034642 2012-01-31 17:27:55
+1
但是你需要概括你所要求的能力。如果iOS不讓你做某件事情,那很常見,因爲它可能太容易被濫用了。 – 2012-01-31 18:31:30
0
- (IBAction)saveScreenshot {
// Define the dimensions of the screenshot you want to take (the entire screen in this case)
CGSize size = [[UIScreen mainScreen] bounds].size;
// Create the screenshot
UIGraphicsBeginImageContext(size);
// Put everything in the current view into the screenshot
[[self.view layer] renderInContext:UIGraphicsGetCurrentContext()];
// Save the current image context info into a UIImage
UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
// Save the screenshot to the device's photo album
UIImageWriteToSavedPhotosAlbum(newImage, self,
@selector(image:didFinishSavingWithError:contextInfo:), nil);
}
- (void)image:(UIImage *)image didFinishSavingWithError:(NSError *)error contextInfo:(void *)contextInfo {
if (error) {
// Handle if the image could not be saved to the photo album
}
else {
// The save was successful and all is well
}
}
相關問題
- 1. 如何在Windows應用程序中截取屏幕截圖?
- 2. 應用程序屏幕截圖問題
- 3. AIR應用程序的屏幕截圖
- 4. 屏幕截圖
- 5. 截取應用程序中的屏幕截圖
- 6. 截取屏幕截圖
- 7. C++截取屏幕截圖
- 8. 以當前屏幕截圖
- 9. 以Kif爲屏幕截圖
- 10. 以屏幕截圖(以編程方式)
- 11. 一個視圖的iPhone屏幕截圖
- 12. 以當前屏幕的屏幕截圖
- 13. 以整個屏幕的屏幕截圖
- 14. iPhone:屏幕截圖
- 15. Webdriver屏幕截圖
- 16. ASP.NET屏幕截圖
- 17. C++屏幕截圖
- 18. iPhone屏幕截圖
- 19. Roku屏幕截圖
- 20. 如何在iPhone應用中截取屏幕截圖?
- 21. 可以在「屏幕截圖」功能可以從iPhone應用程序刪除嗎?
- 22. 保存iPhone應用程序的視頻屏幕截圖
- 23. 使用cuda獲取可見應用程序的屏幕截圖
- 24. 如何從android應用程序中禁用屏幕截圖?
- 25. 屏幕截圖用戶在網絡應用程序中顯示
- 26. 屏幕截圖按住屏幕截圖時卡住
- 27. 編寫一個Android應用程序以獲取屏幕截圖
- 28. 從屏幕截圖分類程序
- 29. ffmpeg用於屏幕截圖?
- 30. python中的屏幕截圖
我不認爲他正在尋找讓用戶觸發這個。 – ceejayoz 2012-01-31 16:00:24
我的想法是可能創建一個允許用戶能夠拍攝「屏幕視頻」的應用程序。我不認爲是可能的,但感謝你的答案。 – user1034642 2012-01-31 16:59:21