I’ve been struggling with this problem for a few hours. It seems like display.save doesn’t work for landscape apps on device only. It works fine on the simulator.
I was using build 525 but I see the same issue in the latest build (569) as well. On device (I tried iPhone 3GS and 2nd gen iPod Touch), display.save produces a black image of size 213x720.
Easiest way to reproduce the problem is to use the Storage/ScreenCaptureToFile sample, but change the orientation to landscape. Here’s my build.settings file:
settings =
{
iphone =
{
plist =
{
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png”,
“Icon@2x.png”,
“Icon-72.png”,
},
},
},
orientation =
{
default = “landscapeRight”,
supported =
{
“landscapeLeft”, “landscapeRight”
}
}
}
I need this feature as soon as possible for some new functionality we’re adding to an app. Thanks! [import]uid: 9525 topic_id: 12428 reply_id: 312428[/import]