ios - restrict showing root view controller from the detail view controller -
i following apple example. https://developer.apple.com/library/ios/samplecode/multipledetailviews/introduction/intro.html
i creating application in user can perform different activities after login. wants disable/restrict root view controller(menu left side appears right swipe) when login screen appears in detail view controller. after user login, left menu should appears when swipe (which implemented in example).
kindly me.
thanks.
i think easier create login view controller , present when application starts , on when login succeeds, present current split view controller.
in example, current view controller set with: self.window.rootviewcontroller = self.splitviewcontroller;
Comments
Post a Comment