[
https://issues.apache.org/jira/browse/CB-9978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15006704#comment-15006704
]
jcesarmobile commented on CB-9978:
----------------------------------
can you provide the code you use?
If you use the same code on a native project, does it works?
> Error accessing UIWindow when debugging on device
> -------------------------------------------------
>
> Key: CB-9978
> URL: https://issues.apache.org/jira/browse/CB-9978
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 5.1.1
> Environment: OS X 10.10.5, Xcode 7.1 & Xcode 6.4, iOS 8+, iPod Touch
> 6th Gen
> Reporter: Dylan Bettermann
> Labels: ios, uiwindow
>
> I added iOS code that takes a screenshot of everything in the UIWindow. This
> functionality works fine when running in the simulator, but when I run the
> functionality on the device I get some odd behavior.
> When I run on the simulator I am able to convert the UIWindow to a UIImage. I
> am also able to preview the UIWindow in the Xcode debugger. When running on a
> device the creation of the UIImage fails. I'm unable to see a preview of the
> UIWindow in the Xcode debugger.
> Sorry if my description of the error was not clear. Let me know if I can
> provide more detail.
> Thanks!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]