Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mikezang

macrumors 6502a
Original poster
May 22, 2010
930
38
Tokyo, Japan
I changed detail view to detail table view in spilt controller, so that I have to create UINavigationBar in programming.

I found the table view's frame is in (0, 20, 768, 1004), but I need 704 in landscape mode and 768 in Portrait mode.

How can I get true width of super view of navigationBar?
 
This is a big annoyance for me as well, I've taken to just using the interfaceOrientation variable and using what I know the width should be.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.