I have a UIToolbar on the bottom of my app. On any device iPhone 5 and up it shows up correctly. On iPhone 4s and down it does not show on the screen at all. I have tried to add constraints but it is not helping. I am at a lose as to why this is happening. My app worked fine up until today. Any suggestions would be much appreciated.
Related
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.
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.
I am trying to test an app in the simulator (3.5 retina iPhone) and am running into a bit of an annoyance. I can't see the bottom 10th of the screen...
I have tried the Cmd+3 shortcut but unfortunately that part of the screen is still missing. For example, the card should be in the middle of the screen below:
For this app, I have some components at the bottom of the screen that I can't see in the simulator. For now, I'm having to move the components further up the screen so that I can test them but it isn't ideal.
Has anyone else encountered this issue?
I think you have designed your view for the 4 inch display, and have not set up autolayout/springs and struts to layout your view correctly.
My ios app does not fit on iphone 5 screen. When I run the app, I can see blank space at the top and bottom of the screen. I have made the app compatible for both iphone sizes. But Since I have updated to the latest xcode, I am facing this issue. See screen shot. Can any one please help?
You probably may not have set your Default-568h image.
On the simulator make sure you have set to iPhone (Retina 4-inch).
You can do this by going simulator menu at the top go to Hardware->Device->iPhone (Retina 4-inch) that will change the phone simulator to the iPhone 5 version.
click here for more get information for naming convention of images [here]Naming convention for iPhone 5 images? [here]
Try setting AutoresizingMask to your container views instead of assigning appFrame.
I have faced the same problem while moving to iOS 7.
Solution comes with AutoresizingMask. iOS 7 has full Screen layout for ViewControllers.
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.