Closed glancashire closed 10 years ago
What version of iOS are you seeing the issue on? All versions? Only specific versions?
I can confirm the issue. It happens on all ios versions >=6 iff "ios deployment target" >= 6 in project settings.
No problem as long as you compile your project with deployment target 5. But if you create a ios7 only project, you'll have the issue.
The bug was introduced by the commit: https://github.com/larsacus/LARSAdController/commit/ee70c9f969e1e5fe96df0ad952602fb709555295
So turns out in iOS 6 there was a totally new way to layout your banner view that was not being handled. It just now reared it's head when we tried to not use the old deprecated methods, but never had anything to replace it. It should function properly in master right now. I'll work on getting 3.0.7
pushed up.
Just pushed up 3.0.7
Thanks!
Dear Lars,
Thanks for the last fix, but somehow the other changes in 3.0.6. broke landscape ads.
I only get 320x50 Banners in Landscape on a iPhone (IOS 7.1.2 in simulator).
This seems to go back to the following change:
TOLAdAdapteriAds.m
(void)layoutBannerForInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{ +#if (IPHONE_OS_VERSION_MIN_REQUIRED < IPHONE_6_0)
If I get rid of the < pre iPhone 6 ifdef landscape ads appear once more as landscape.
Kind Regards Graham