views:

26

answers:

0

Hello All,

I am facing one issue regarding Layout of detail view in UISplitviewController. below is application flow.

   [window addsubview:PreLoginController.view]
  1. Application launches with Login Screen [ Master = number of options + login button Detail = detail of option selected from Master ]

  2. User clicks "Login" and one view [ full screen like present modalview controller ] appeared, user fills the detail and click Login button

    [window addsubview:PostLoginController.view]

  3. User Clicks "Log out"

    [window addsubview:PreLoginController.view]

*Problem lies here - Detail page appeared with width 427 and black patch is displayed. when Detail page is displayed properly at that time width is 748.

Why calling [window addsubview:PreLoginController.view] second time affecting width disturbance.

Please help me on this.

thanks,