Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add an "entry point arrow" to a tab bar controller?

In Xcode 6.2 beta, I am able to make some view controllers such as "View Controller" or "Navigation view controller" the entry point of my interface by dragging and dropping the "entry point arrow" on it, it gives me something like this : enter image description here
But when I want to drag this arrow on a tab bar controller, it does not work, so is that a bug or should I do it in another way ?

like image 612
Pop Flamingo Avatar asked Dec 29 '14 04:12

Pop Flamingo


2 Answers

Try with following steps.

1) Open StoryBoard.

2) select TabbarControllerwhich you want to set as RootViewController.

3) Open Properties.

4) select InitialView Controller Option.

For help you can see following image.

enter image description here

like image 90
Abhishek Sharma Avatar answered Sep 23 '22 16:09

Abhishek Sharma


its a litile bit confusing over versions on xCode, I'm using version 8.3.2 and it has the follwing

select navigation controller

select navigation controller

check the is initial view controller checkbox

2[select is initial view controller ]2

like image 33
M_AWADI Avatar answered Sep 23 '22 16:09

M_AWADI