[ 
https://issues.apache.org/jira/browse/CB-9978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15007099#comment-15007099
 ] 

Dylan Bettermann commented on CB-9978:
--------------------------------------

Code is attached. The code I added is at the bottom of the AppDelegate. 
Essentially just use the shake gesture on your device to inspect the UIWindow 
at any point during runtime. I was able to replicate the issue on Xcode 6.4, 
iOS 8.4 on an iPod Touch 5th Gen.

> 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
>         Attachments: WindowTest.zip
>
>
> 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]

Reply via email to