2011-04-07 8 views
0

확장 된 UINavigationController 안에 ADBannerView를 추가하려고합니다. 배너로드 내가 크기를 다시 할 때이 같은 뷰 :크기 조정 UINavigationController 레이아웃 문제

CGRect contentFrame = [[UIScreen mainScreen] applicationFrame]; 
banner.currentContentSizeIdentifier = ADBannerContentSizeIdentifier320x50; 
bannerHeight = banner.bounds.size.height; 

self.view.frame = CGRectMake(self.view.bounds.origin.x, 
            (self.view.bounds.origin.y), 
            self.view.bounds.size.width, 
            contentFrame.size.height - (bannerHeight)); 

하지만 UIView의 일부 탐색 모음에서 가리는됩니다 : 무엇이 잘못되었는지 here

어떤 생각?

감사

[1] :

답변

0
self.view.frame = CGRectMake(self.view.bounds.origin.x, 
           (self.view.bounds.origin.y)+(bannerHeight), 
           self.view.bounds.size.width, 
           contentFrame.size.height - (bannerHeight)); 
+0

해결되지 않았다 : http://ploader.net/#d4406ed3611d9684f21cb163359bb01f.jpg – SQu