How to know width of detail view in split controller?

Discussion in 'iOS Programming' started by mikezang, Dec 9, 2010.

  1. mikezang macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #1
    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?
     
  2. seepel macrumors 6502

    seepel

    Joined:
    Dec 22, 2009
    #2
    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.
     

Share This Page