detailView 20pixel bug
네비게이션 컨트롤러에서 자식뷰로 push하여 들어갔을 때 자식뷰 하단에 20픽셀 위로 올라가 있는 버그를 발견
아..... 골때리네 이건 또 머여
1.
CGRect fullFrame = [[UIScreen mainScreen] applicationFrame];
self.navigationController.view.frame = fullFrame;
2.
self.navigationController.wantsFullScreenLayout = YES;
3.
[self.navigationController.view setFrame:self.view.bounds];
4.
self.navigationController.view.frame = CGRectMake(0, 0, 320, 568);
위 코드를 한번씩 적용해 본다.
반응형
그리드형
'IT > iOS' 카테고리의 다른 글
[[NSUserDefaults standardUserDefaults] dictionaryRepresentation].allKeys (0) | 2014.03.04 |
---|---|
iOS random integer (0) | 2014.02.05 |
iOS 7 UI Difference between Simulator and real Device (0) | 2014.02.05 |
navigation bar title color (0) | 2014.02.04 |
UITableView selected background color (0) | 2014.02.04 |
iOS6 특정뷰 회전 처리 (0) | 2014.02.04 |
iPhone emoji encoding decoding (0) | 2014.01.28 |
CopyPNGfile error (0) | 2013.12.05 |