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.

view controller object

then click on new view, , in attributes inspector, check off "is initial view controller".

enter image description here

that makes new view first thing comes when app opened. go tabbarcontroller, have button on first view has segue(control drag) tabbarcontroller.


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -