Toolbar is not displaying on iPhone 8 plus simulator - ios

I've added a toolbar in storyboard and it's well shown.
However when I run on the simulator (iPhone 8 plus), it doesn't display the toolbar.
Any help would be appreciated!

Do u have any constraints or other UI that covers tool bar? Or do you have alpha of toolbar set to 0 or color to clear color?
Did you test on other simulators?
Try cleaning the project and reseting the simulator or restarting the simulator.
I just looked over and toolbar is displaying well on iPhone 8 plus simulator and other.

Related

iOS tabBar button gets wrong background color

I have a custom tabBar in my Swift app that displays fine on all tested devices except one (iPhone 5 running iOS 9.3.2), where the selected item gets a different background color (see attached image). Any ideas what this might be caused by or how to debug it?
Update:
Tried another iPhone 5 also running iOS 9.3.2, and the same issue showed up... The issue doesn't show up on iphone 5c, 5s,6, 6s, ipod touch or in the simulator.
Solved it!
It turned out not be a bug after all, but caused by the phone's accessibility settings:
Settings > General > Accessibility > setting Button Shapes to OFF
=> Buttons are no longer outlined like in the screenshot!

Xcode 7.1.1 UINavigationBar does not cover the entire width of the screen with iPhone 6 and above

My app was acting fine till I updated my Xcode. For some odd reason, my UINavigationBar is no longer covering the entire width of the screen for devices iPhone6 and above.
For iPhone 5:
For iPhone 6 and above:
I think you didn't used autolayout. Okay no problem..
Follow below steps:
1. you need to keep it empty on Launch Screen file.
2. Create Launch image source and then add iPhone 6 and 6+ splash screens
Then it will work your navigation bar automatically fit based on device.

Black bar at the bottom after update to iOS 8

I have an app on the store and I started working on the update for iOS 8 a while ago, everything seemed to work fine except for this problem I'm having with the layouts. No matter what device I test the app on, there's always a black bar at the bottom (or the side on landscape mode).
Test on iPhone 5S
Test on iPhone 4S
Is this an issue with iOS 8? How can I solve it?
I had this same issue with the thin bar along one side when an iOS 8 device was rotated to landscape. I found the solution to this problem here: Building project with Xcode 6 (iOS 8 SDK) causes landscape rotation rendering issue on iPad
The fix I did was to go to MainWindow.xib, select the Window, then go to the Attributes inspector and select the two check boxes for Visible at Launch and Full Screen at Launch.

iOS Simulator Ignores Half of the Screen?

My app is working fine in iOS 7 , but when I simulate it in iOS 6 simulator , it seems , that it only loads top half of the screen. How can I solve this ?
This is an screenshot of how the view is in the storyboard builder and in the simulator :
set your iPhone retina 4 launch image 640*1136
You have to add a splash screen (Default.png) of (640 × 1136)... without this app treated app as its iphone 4s & below device
You need to set the UI for iOS7 as well as iOS6.
Just open your storyboard and then click on assistant editor.
Now open storyboard preview in assistant editor.
There is a button in assistant editor at right hand bottom corner which says iOS7 or later, click on it and select iOS6 or earlier.
Now you can see the UI for both iOS7 and iOS6 side by side on the screen.
Now select a particular view controller and then select size inspector.
In size inspector you just need to set the iOS6/7 Deltas for iOS6 screens.
That's it.
check this url too :
https://developer.apple.com/library/IOs/documentation/UserExperience/Conceptual/TransitionGuide/SupportingEarlieriOS.html
If you have any problem then let me know.
This happens because of the resolution of iOS6 is lesser than iOs 7 simulator. You can use Autolayout option to solve this issue.

UIToolBar Not Showing In 3.5 Inch Simulator

I have an iPhone app that has a UIToolBar added at the bottom in a View Controller with button on it. I was just testing it and found that the UIToolBar is not showing in the 3.5-inch iPhone simulator in Xcode. While its properly showing up in 4-inch iPhone Simulator and 4-inch 64-bit iPhone Simulator. Its even showing up properly on all iPads simulator.
I don't have any 3.5 inch iPhone to test it on the device since i only own an iPhone 5 and iPad 2. Although its hard to tell but can anyone point out what could be the problem or how can i troubleshoot it to find the problem?
Try clicking on the toolbar in storyboard and the from the icons on the bottom left section from second from right select reset to suggested layouts and see if that will solve your issue.

Resources