I see the strange behavior from [UIScreen screens]
in iOS 5.0.1 in the reports that we register in Flurry on crashes. There are times when [UIScreen screens]
returns an empty array. Our application implements support for external accessories through the EAAccessory system. This behavior is completely unexpected, since even the Apple documentation says that the array returned from this method will always contain at least one record.
source share