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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -