I am working on an app that uses Airplay mirroring for a second display that has different content to the iPad itself. I'm using an iPad3 and ATV3 (i.e. released March 2012) attached to an LCD capable of 1920x1080 via HDMI.
With Airplay mirroring, the second screen's UIScreen is available through [UIScreen screens] array. I was able to get rid of the black borders by setting overscanCompensation to 3 but I can only display a 1280x720 image. The monitor is working at 1920x1080 (i.e. checked in its menu, set to "Just Scan", and the rest of Apple TV interface is at 1080p).
When I return the availableModes array from UIScreen it only has one item "1280x720"!
Does this mean that iOS 5.1 only supports 1280x720 on the new apple tv for airplay mirroring and not 1080p!? or am I doing something wrong.