Hi I have weird problem on iPhone6, iOS8 in iPhone simulator (unfortunately I don't have actual device to test yet).
I have background view whose bottom edge is exactly to top edge of UITabBar 0px overlap, background is in golden colour.
This problem only occurs on iPhone6, on iPhone6 plus and iPhone5 all is ok.
Tab bar on iPhone6 simulator:
Same tabbar on iPhone6 Plus simulator:
Same on iPhone5:
Anyone experienced anything similar?
Do you have any suggestion how to fix this?
Should I ignore it, if its simulator only issue?
Did you check the #3x, #2x, #1x image size? sometimes is has an issue with those assets.
Related
Im currently testing my Ionic app on the Xcode simulator. It works super fine on every ios device except for the Iphone X. When you slide on the ion-ranges, the animations are strongly delayed, the scrolling is laggy and not smooth. The transitions with click or swipe events are also very laggy and delayed. Have you also expererienced similar things with the IphoneX simulator or do you know how to solve this problem?
I noticed that if I click and try to scroll while holding down the mouse button on the iPhone X simulator, the scroll is very laggy and sometimes won't update until I release the mouse button. Yet on the other simulators, the scroll is smooth as butter, even if I hold down the mouse button (rather than click and flick).
If I change the iPhone X to 'physical size' using the simulator menu (window -> physical size), the scrolling is still laggy. But if I manually resize the window of the iPhone X to anything other than 'physical size', the scrolling becomes smooth like all the other device simulators.
I don't know why, and it's not always consistent, but it seems to work most of the time. Hopefully this helps someone with this annoying problem.
In Xcode 6.1 when i load the iPhone 6plus simulator along with the huge iPad simulators that all take up the full screen there is a scroll slider in the simulator. When i scroll the simulator a little to the right there is about a quarter of an inch black screen that covers the part that slides. When i did work in Xcode 5.1.1 for this app and iPad simulator loaded full screen it didn't have a scroll slider and it didn't have a black screen for that little part. However, now when i load the same iPad simulator in Xcode 6.1 there is that slider and the quarter of an inch black screen. Inside the storyboard the UIImageView is placed 414 width by 736 height covering the full storyboard so that's why I don't understand.Is that 1/4 inch black screen after scroll supposed to be there or does it mean my background UIImageView is not big enough to fit the entire simulator even though my UIImageView fits the entire storyboard?
Horizontal scrolling not working is a bug in the iOS Simulator in Xcode 6.1. The only workaround is to decrease your window zoom such that the contents fit in the entire window (thus making it so you don't need to scroll).
I am new to Xcode 6 and Swift, so I was checking it out and crafting a simple app but I encountered several problems:
When I run my app the keyboard does not react to whenever I "press" (click since I am in the simulator) in the text field. That is, the keyboard does not show up.
The app's elements in the storyboard TOTALLY rearrange sometimes when I mess around with the width and height of the storyboard and choose an different device for the iOS simulator.
All my problems and (little) code I've written is as shown:
I would appreciate any tips/help you guys can give me!
Thank you in advance!
Jack.
I have had similar issue some times on simulator, use ⌘+K or Hardware > Keyboard > Toggle Software Keyboard to prompt keyboard.
When change width and height of storyboard, examine closely the the descriptions (width, height, portrait, landscape) in the popup, I suggest choose the width and height that matches your device and orientation.
Hope this helps.
It is because of auto layout. Here is a link to guide you through.
Auto Layout Guide
iPhone simulator is not showing some of the labels properly. Has anyone else experienced this? Does anyone know how to fix it? I also noticed that if I drag the buttons too quickly, xcode would crash randomly...
Thanks
I have come across this issue recently and it was a weird bug. For whatever reason, the x/y axis was off in what I was seeing in Storyboard. So the UILabel and UITextfield I had were being displayed behind my NavigaionBar. I adjusted the x/y values in the size inspector on the right side pane of Xcode and it worked perfectly. Those value should be an accurate representation of the placement of storyboard objects.
Not sure about the quick dragging, sounds like an Xcode issue that may be fixed by now.
We just set up a whole bunch of development MacBooks in our office. We all set up the computers exactly the same as far as I can tell (just installing xcode and not changing any settings). We even distributed the exact same xcode project to everyone to test whether or not everyone was set up correctly. For some reason though, my iPad simulator incorrectly renders the positions of Objects on the UIView controller.
I can make a really basic application and slap down a UIView controller with the storyboard editor in xcode 4.3.1 (newest version ATM), and add a button to it. When I run this on the simulator, it will look fine on the iPhone one, but when I try to view it in the iPad, it seems that some elements will scale to the iPad resolution fine, but others will not. The components that do not, seem to be in the place that they would be if they had been rendered on the iPhone.
The weirdest part of this problem is that I can't find anyone online who has had this same issue. I have already tried deleting and re-installing xcode and the same thing still happens. I fear I might have to re-install the OS and start from scratch.
How it looks on the iPhone simulator:
And on the iPad simulator:
I don't think that's an SDK issue, I bet that you are writing code that fits for the iPhone screen and not for the larger iPad screen.
I think that you added just the button and is Autoresizing Mask is not set properly.
I've done some measurement an it seems that:
The distance from the top of the view is in fixed (~360px);
The width is fixed (~260px);
You need to give the button a fixed distance from the bottom (as it should stay on under the plot) and remove the left fixed margin so it can be centered.
You need to take a look at the UIViewAutoresizingMask for the UIView's autoresizingMask property.
button.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin;