Hi All,
I have a universal app I'm trying to finish up in which I programmatically create all of the display elements and position them for each rotation I support. No xib files used.
This app is a music listening app designed to connect to a user composer music side. I've included iAds as a way to recoop a little of the programming effort costs.
Basically when the device is rotated I have code that reframes each item to be in the desired spot on screen. I have this working nicely. However if an iAd is tapped when in any display mode but portrait upright things go south real fast. Basically even though I attempt to force my display elements to the desired positions they are just messed up and all over the place.
If the iAd is tapped in portrait mode then everything is mostly ok... There is a small y offset I need to deal with. The best way to describe this is to show it. This link is for a small screen movie that shows the issue I'm having:
iAd Screen Mess up - MarkHolbrook's library
Now I've read the iAd docs. I've checked my view frame before and after the ad and it looks ok. It does shift a little but not much. So I cannot figure out why everything goes off the deep end. Any help would be much appreciated.