我知道可以在自己的應用程序中截取屏幕截圖,但是我想知道是否有可以在任何視圖中捕獲屏幕截圖的應用程序,只要應用程序它打開。我很確定它不可能,但我只是想仔細檢查。謝謝。屏幕截圖應用程序,可以在任何視圖中截圖
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. SpriteKit屏幕截圖的屏幕截圖
- 3. QQ屏幕截圖應用程序
- 4. 應用程序屏幕截圖問題
- 5. AIR應用程序的屏幕截圖
- 6. 屏幕截圖到任何屏幕(Android Root,就像屏幕截圖UX)
- 7. 屏幕截圖
- 8. 截取應用程序中的屏幕截圖
- 9. C++截取屏幕截圖
- 10. 截取屏幕截圖
- 11. 如何讓屏幕截圖製作控制檯程序阻止屏幕截圖?
- 12. 從我的應用程序截取設備的屏幕截圖
- 13. iphone - 截取其他應用程序的屏幕截圖?
- 14. 以當前屏幕截圖
- 15. 以Kif爲屏幕截圖
- 16. 在Rails中截取屏幕截圖
- 17. 從屏幕截圖中排除覆蓋應用程序圖標
- 18. 以屏幕截圖(以編程方式)
- 19. 如何在Winrt應用程序中創建屏幕截圖?
- 20. 以當前屏幕的屏幕截圖
- 21. 以整個屏幕的屏幕截圖
- 22. 一個視圖的iPhone屏幕截圖
- 23. Webdriver屏幕截圖
- 24. UIWebView屏幕截圖
- 25. iPhone屏幕截圖
- 26. Roku屏幕截圖
- 27. C++屏幕截圖
- 28. ASP.NET屏幕截圖
- 29. iPhone:屏幕截圖
- 30. android屏幕截圖
我不認爲他正在尋找讓用戶觸發這個。 – ceejayoz 2012-01-31 16:00:24
我的想法是可能創建一個允許用戶能夠拍攝「屏幕視頻」的應用程序。我不認爲是可能的,但感謝你的答案。 – user1034642 2012-01-31 16:59:21