Permalink

Hi Guy, think of it like the sidebar controller is taking the place of a tab bar controller. When it's being used it will always sit at the top of the view controller hierarchy. Also, due to how the controller is responsible for actually laying our multiple contained views, it isn't necessarily sensible for it to be contained within other views itself.

That is likely why you see that as a common pattern.

That being said, there is nothing stopping you from making your login view controller the root view controller at app launch and then later replacing it with a sidebar view controller.

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.