ios - On dismiss iAd Screen ipad screen becomes black -
i have tab based application.i have created iad object in appdelegate class , using in 3 view controller class.it working on tab 2's first screen , tab 3's first screen.on tab 2 there table view ,on clicking row of table view navigate new view have used same code iad .on clicking iad iad screen opens in landscape mode , when closing screen becomes black , log following.
[adhostwindowcontroller supportsorientation:]: message sent deallocated instance 0x100bc740
i have created object in app delegate this..
self.bannerview = [[adbannerview alloc]init]; [self.bannerview setdelegate:self];
iam adding banner in view controllers this
[[[self appdelegate] bannerview] setframe:cgrectmake(0, hightofview-180, 768, 66)]
all view controllers in portrait iads open in landscape mode. how solve ,this working in ios 6 ,but problem ios5 ipad.how solve thgis .plz me .any advise appreciated.thanks
iad not problem looksfrom question check u when view disappears on showing iads,
Comments
Post a Comment