Xcode 10.1 issue with uicontrols on Navigation bar are not appearing in certain devices - uinavigationbar

Navigation bar uicontrols are not appearing in certain devices on iOS 11 and iOS 12, if the code is compiled on Xcode 10.1.
Works perfectly fine if the code is compiled on Xcode 9.2.
Found simmilar ssue reported - Xcode 10 NavigationBar icons not appearing on some devices
but the suggested solution to change the settings did not solve the issue.
Wondering someone else has seen the same issue.

There is no issue with XCode 10.1 navigation bar. By mistake made the following change in one common place before presenting all my UIViewControllers which made all the navigation bars go transparent and the text in white and the icons in white disappered.
[self.navigationController.navigationBar setTintColor:[SSCTheme colorFromPalette:PaletteColorWhite]];
[self.navigationController.navigationBar setTranslucent:NO];
Sorry for raising this issue.

Related

Issue with Navigation Bar on iOS 10

I am working on an application which needs to be supported from iOS 10. I see the strange issue with navigation bars with Xcode 9.2 and 9.3. I added a view controller on the storyboard and when executing the application on iPhone 5 with iOS 10, I don't get to see the navigation bars, but the same is working on another device with iOS 11. But I can see the navigation bar on storyboards when selected topbar as transculent navigation bar and also embedded in a navigation controller. So what might be the issue?

iOS 11 Navigation issue when status bar is hidden

When status bar hide that time how to set navigation height on iOS 11? I used custom navigation & its worked for below version of iOS 11. I set navigation height 48 below version of iOS 11 & its worked fine but not worked on iOS 11. I tried to fix this issue from many days but still not getting any idea.
Thanks in Advance

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.

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.

UINavigationBar position is not the same depending on iOS version ( 7 and 6 )

I'm updating my app to iOS7 and I noticed that I had to re-adjust all my manually placed UINavigationBars so that they come under the status bar.
Now that all bars have been manually moved in the IB below the status bar I've a problem that it looks great on iOS7 but in any other version there is a pronounced gap between the status bar and the UINavigationBar.
Could anyone advice me why is this problem happening between iOS versions and how to overcome it?
iOS7
iOS6

Resources