简体   繁体   English

在iPhone上接听来电时捕获屏幕

[英]Capturing screen while Incoming Call on iPhone

Is it possible to capture screen (take screenshot) on iPhone (Using for example: UIGraphicsBeginImageContext) while incoming call is in process or while the iPhone rings? 在通话过程中或iPhone响起时,是否可以在iPhone(例如:UIGraphicsBeginImageContext)上捕获屏幕(截图)?

tnx. tnx。

Your app won't have access to the screen when the call is ringing. 通话响铃时,您的应用将无法访问屏幕。

  • Press power and home buttons together to do a system screenshot? 同时按下电源和主页按钮以进行系统截图?
  • Use the screenshots section in the Xcode Organizer to capture the screen while tethered? 使用Xcode Organizer中的屏幕截图部分来捕获屏幕时是否被束缚?

When a call is in progress you can press Home and re-open your app. 通话进行中,您可以按Home键并重新打开您的应用程序。

At that point you could use UIGraphicsBeginImageContext but it probably won't include the statusbar or green 'in progress' bar. 到那时,您可以使用UIGraphicsBeginImageContext但它可能不包括状态栏或绿色的“进行中”栏。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM