Error in displaying tab bar controller in storyboard - ios

I'm developing a project in Swift and when using the storyboard to modify the views, I find an uncomfortable situation. The image is self-explanatory: Image of the stroyboard.
As you can see, the bar has grown and it's impossible to see the view i'm working in. At first, the error ocurred in the navigation controller beneath the tab bar controller but now it spreads to the new views I create and connect.
Any help would be apreciated.

Related

Refactoring storyboard, results in navigation controller dependent scene navigation items to disappear but still working

I use Xcode 9.2 and iOS 10.x.
I would like to refactor my large main storyboard to smaller ones.
My initial login scene is embedded in a navigation controller, so all other consequating scenes are in the navigation stack and I have created view controller titles and navigation bar buttons to them.
After refactoring a branch of my scenes that are related to staff management to a new storyboard, everything has been moved correctly and links between storyboards created and the application still working as expected. I did the refactoring using Editor-->Refactor to Storyboard...
However, when you go to the editor of the new Staff storyboard you will notice that all navigation headers and buttons are missing, although working. For example, in the first scene I have a title and in the 2nd screen of the stack I have several nav bar items. All of these are missing in editor but appear when I run my application.
Does anybody knows how I can make navigation items visible again, in my new Staff storyboard, in order to edit them further e.g. add new buttons etc. ?
Is there any fix to all of this or is it a normal feature of Interface Builder/Xcode?
An oversimplified "version" of this issue could be recreated as follows:
1. you have just one view controller A embedded in a Navigation Controller.
2. you add navigation items / nav bar buttons in the navigation bar
3. you remove the navigation controller and as a result you loose in the editor any buttons

Can't add tab bar to iPad app using storyboard

I have an iPad app using a tableview/details configuration. I want to embed this in a tab bar controller. I am following several tutorials to add a tab bar controller in storyboard, but my results are not the same as in the tutorial:
I am not given the first tab bar item to edit; neither in the storyboard nor in the file tree.
My segue icon between the tab bar controller and the navigation controller is a slanted icon, not the horizontal segue icon I see in the tutorial.
The new tab bar does not appear at the bottom of my table view.
Please, what am I missing? (I wish I could post a screen shot, but alas I don't have the reputation!)
Thanks in advance,
Steve
Here's a video from YouTube that explains it. It's pretty straightforward.
https://www.youtube.com/watch?v=NFTcR9H-OYQ

Not able to see tab bar controller

I am working on Xcode 5 and have embedded a tab bar controller to a Master-Detail application templates MasterViewController. But for some reasons the tab bar is not visible. A tab bar should be visible in all the screens connecting the Navigation Controller but that cannot be seen. I have already coded lot of functionality in my application using Master-Detail view controller and now my application requires the functionality of building a tab bar controller.
I have looked for ways of resizing the size of table view in the MasterViewController so that tab bar is visible. But I am not sure of how to resize it, as like normal table views this table view does not give markers to resize it.
I have tried changing the streching setting by of the table view and changing its height. But it does not help.
Please help with your ideas around this. I am extremely thankful for your time.
Regards,
Sameeksha
In the storyboard builder, when selecting the related UIViewController, there are a few parameters used to make the preview, you might by accident turned off some features.
In your storyboard, select one of the view controllers, go to Attribute Inspector (Option + Command + 4) and under Simulated Metrics set the value of Bottom Bar to Inferred if it is set to none or any other values.

Create a view that stays above all other views pushed inside the UINavigationController

I want to know if its possible to create a view that will stay above all the other viewControllers that i push in my navigation controller.
I'm using storyboards in Xcode 5.0.2 with iOS6 plus platforms.
just like the UITabBarController works by nesting the navigation controller inside it so the tab bar stays at top no matter how many view controllers are pushed inside it. i want to create the same functionality but i can't use the tab bar controller due to the fact that its not very customizable and it doesn't look well for my app in iOS versions below iOS6. so my only option is to create my own view that will stay above a uinavigation controller.
I'm not sure if this is possible so kindly let me know if anyone knows a way to do this or anything similar. Any help will be greatly appreciated. thanks.

Custom navigation bar in Xcode 4?

I'm pretty new to Xcode and me and my buddy are working on a golf app we tought would be cool to use for ourselves. I've done a tab bar with 3 view controllers and one navigation bar controller with 2 view controllers. Now, first of all the bar on top is named navigation ITEM and not navigation BAR, so i can't change things like color and button type, all i can change is the title.
Does anyone know if you can just remove that bar completely or just customize it so it's just a picture i made instead? I dont really need it since you could just press one of the tabs in the tabbar to go back.
Sorry if things doesnt make sense, i'm a total noob. Also i tried search the web and all i could find was some youtube clip from xcode 1.2 and i tried it but it didn't work..
You could make your custom nav bar in photoshop or similar, add it as image view and add custom buttons on top of that.

Resources