Screen orientation changes in UIViews of an ANE don't work anymore since ios9
Hello,
we use an Air based mobile application on iOS that has an ANE to display a custom native UIView component inside the app (as a subview). This worked very well in the past (we introduced it for the ios 8 release). And the app still works on iOs 9.
But when we now recompile the (not modified!) application using the latest Air 22 runtime and XCode 7.3 we run into an interesting issue. While the surrounding Air application handels device orientation events just fine, the UIView component of the ANE doesn't rotate anymore
so it sticks in the portrait orientation.
The UIView component of the ANE just listens for any orientation events based on UIDeviceOrientationDidChangeNotification to update its view frame by just taking the updated size of the parent's view frame (which is the application view managed by Air). But unfortunately the parent's frame coordinates doesn't change anymore, they stick to eg. 0,0,768,1024 (portrait orientation) on the ipad.
Also setting the UIView's size directly has no effect on the size or orientation of the view anymore. It's just ignored. I wonder what could have been changed in iOS 9 that newly compiled apps behave in that strange manner.
We also tried the old Air release that we originally used but it doesn't matter. We unfortunately don'T have any iOS 8 devices anymore and tghe iOS simulator never worked pretty well, especially when using an ANE.
Btw. using the ANE's UI View component in a non-flash native application works fine so the coordinates of the view changes.
Any hints what could go wrong here?
Thanks,
Robin
