ios - Splash Screen(Welcome) Before Tab View -
so i'm trying program ios app in swift, there splash screen before tab bar screen.
i've looked @ both: http://sweettutos.com/2014/01/08/present-a-login-screen-before-the-tab-bar-controller-in-a-uitabbarcontroller-based-app/
and
loading welcome screen(splash screen) before tabbarcontroller
but both of them require nib file , did ui in storyboard.
here's main question: code on website has this:
controllername(nibname: "nibname", bundle: nil);
is there way same thing without nib file , use storyboard?
thanks in advance!
assuming have tabbarcontroller
in storyboard, add view controller next it.
then click on new view, , in attributes inspector, check off "is initial view controller".
that makes new view first thing comes when app opened. go tabbarcontroller, have button on first view has segue(control drag) tabbarcontroller
.
Comments
Post a Comment