Tab Bar Controller Gray - ios

I am using Xcode 5.1.1, Deployment to SDK 7.1. For some reason when I add a Tab Bar Controller, the Items in the bottom does not show up, all bottom bar is gray, the View Controllers associated has the same gray bar, and do not show the items. When I run the simulator the Items Bar is normal. Already tried to change to global tint, re-start Xcode, new project and still the same.
I really appreciate any suggestion.

I had this problem before and after search found it is a bug in Xcode 5. After I reinstall Xcode the problem did not occur anymore.

Related

Xcode 12.4 storyboard can not change background color of a View

I'm a newbie in IOS development and I made a new Iphone app. Try to change in storyboard the background color of a View but can not. I changed it in Inspector pane in Background and Tint block but anyway the colour is black. Even if I change the light mode to light or dark. And therefore the elements are invisible. What I already tried:
Deleted a View, create e new one. Deleted a project and created a new one.
Preferences > Locations > Derived Data > click the arrow to open in Finder > trash it.
But It did not help me. Can you explain me please how to do it.
My problem was because I work on a new Macbook M1. And usually I deal with React Native projects, therefore I launched XCode only with rosetta 2, because the current versions of RN projects is not building there. After usual launch with out rosetta 2 the error and black background has disappeared.

iOS 11 No background color for status bar in master side of splitview

I have seen a couple of issues similar to this but theirs seemed to be in the main view of their app. I have tried some of their suggestions like deselecting "Safe Area Relieve Margins" in the Size Inspector pane but none have worked. In the Detail side of my iPad app, the background color of my navigation bar stops at the status bar.
In this screenshot, I tried to use MMDrawerController to see if using something other than UISplitViewController would work but I have the same problem for both. So far the only difference between the two libraries is I haven't seen UISplitViewController work at all but with MMDrawerController, if you set openDrawerGestureModeMask to MMOpenDrawerGestureModePanningCenterView and the master view stretches a little bit then the background color renders correctly.
I saw on one of the other post that their issue was a bug for Xcode and there had been several people who already filed their bug Apple. Could this be a separate issue that Apple needs to know about as well if it is a iOS bug?
This is not an issue for iOS 9.X or 10.X, only 11.X.

iOS App is offset from the top of the Screen

I am developing an app (objective c) with a navigation controller. For some reason the whole app is offset from the top of the device. See below, can anyone give me some pointers as I have no idea.
Hiding the Navigation bar makes no difference, either in the storyboard or in code. The storyboard constraints all seem correct, as the title below the navigation bar moves up and down when showing and hiding the navigation bar.
This problem occurs on iPhone SE and iPhone 7, the iPad 2 is ok. The xCode version is 8.1
Any help would be appreciated.
You need to use launch.storyboard in your Project or you need to add launch screens image in your Asset Folder for all the sizes, then this black screen from top and bottom will be removed.
In App Icons and Launch Images setting, you need to set asset and launch screen file. so this black bar will disappear.

tab bar controller is not shows the tab buttons after updating xcode

I was developing an application which uses UI TabBar controllers and I have updated my mac Osx and the Xcode to the version 5.1.1. before these updates , my application worked fine.
now when i run the application after the update, my tab buttons (which should be there at the bottom of the simulator) do not show. i did not change anything in my project. just above updates only i did. i checked my storyboard to check whether those tab buttons are there. unfortunately they are not there.. the only thing i can see is like the below
before the update my storyboard looked like the following
now it looks like this
you can see in the tab bar controller there are no tab buttons like the above screenshot..
my application is now like this when it runs...
What's going on?
if you change all the TabBar item's icon than you can see tabBar.

Weird Bug in XCode StoryBoard after upgrading to iOS SDK 7.1

Last night I updated XCode and the iOS SDK.
It looks like it messed up the UINavbar on the storyboard, here is a pic:
It shows two titles overlapping, if I delete the title , then there is still another one in the background, Im not able to remove that second one.
The strange part is it magically disapear, if I run the app.
XCODE version --> Version 5.1 (5B130a)
iOS SDK---------> Version 7.1
Yes, there's a new property for the uiviewcontrollers named "exteded edges" you must uncheck this in the interface builder inside the uiviewcontroller preferences. Or by inserting this code in your view did load. This will tell the controller not to draw the view under the navigation bar.
if ([self respondsToSelector:#selector(edgesForExtendedLayout)]){
self.edgesForExtendedLayout = UIRectEdgeNone;
}
I checked again and there was an extra navigation bar, its weird that It shows only after I upgraded, I think something happen with that view because I embedded it into a navigation controller.

Resources