It looks like UIImageView (or the underlying UIView is changing my colors.
iPad simulator is on the left side, and on the right side is the same view from IB.
I have same effect on UITableViewCell, and on other views in the application. What's the problem, and how to deal with it?
It looks on a real iPad just like on a simulator.
My guess would be that it has something to do with this, though I'm not too sure what it does. You might wanna try playing around with it and see what you get.
You need not to care about how it appears in the IB. The actual appearance you can see is in Device only.
Even the simulator and the Device may give different appearance of the images.
Well, I've found out (by looking at jpeg sources using Dropbox iPad app) that the problem actually goes deeper into that: StackExchange post.
That solved my question. It still looks differently in IB and on device, but it's now pretty close to what I get in Photoshop.
Related
I have an iPad project that i've been wanting to add an iPhone part to it.
So I've added a target and added a new Storyboard, but when I run the app and pressing a textfield, the keyboard looks strange. As if the resolution is low.
The left one is how it looks and the right one is how I want it to look:
Anyone has any clue? Thanks
Special thanks to James.P (from the comments above) for a great solution.
Apparently, this happens when one doesn't use any LaunchImages at all.
Just make sure to use LaunchImages correctly and it should be solved.
I don't know what I've done. Everything was working great until I started styling my app. So, I was working on my main storyboard and when I tried to simulate my App in the simulator. I saw my Icons flying around like crazy.
I am more familiar with coding so I'm sorry if this is a nooby question but I don't know how to describe my problem to Google, I really tried it but it turns out to be other problems.
I will hang on screenshots, one is from my storyboard and the other one is whats the simulator shows me.
View in main storyboard:
View in simulator:
From your description and images, it looks like you're using auto layout but haven't applied enough constraints to locate the images where you want them, or the constraints are just wrong. Take a close look at your storyboard to make sure that you don't have any warnings about missing constraints, and that the constraints do what you want them to do.
I am fairly new to developing for iOS. I have a fully functioning program written in Swift and the UI was created in the scene builder on Xcode. I created an app for my work to simplify closing out the registers and other financial aspects. The app is complete and works perfectly, but was designed on the iPhoneX. The problem is that only a few of the employees have an iPhoneX, but they all have some kind of iPhone. I have tried setting up constraints but it never works. Ive tried scaling restraints and position restraints but I can't get the layout to look right on any other phone, and when I add the constraints it affects the view on the iPhoneX as well and doesn't look good on any iPhone. I need help getting this to work on all iPhones. I would like it to look and act the exact same regardless of the size of the phone, basically just scaled down. There are a lot of things on the screen and I can't figure out how to do this. Please help!!!
I have been working on this for a long time and I really need help. Please let me know if I need to clarify anything. I have posted links to some pictures of my UI so you have an idea of whats going on.
Constraints I tried adding, although I have played around with some other options.
Here's what it looks like on the iPhoneX, this is how I want it to look.
What it looks like on iPhoneSE (with constraints).
One thing I noticed in your Xcode project that none of your features are in UIView. Without it, it will be quite challenging and somewhat always different results. In theory, if you use AutoLayout features correctly it should work without UIView, but they make life so much easier. This is something I learned the hard way at the beginning of my iOS development. First set up your UIViews without any content inside it, give them some background colour to differentiate, once they are working on all devices. You can pin your features to superviews with no difficulty.
Since you have a repetitive features, you could also consider using Stack Views. You don't have complicated features, so as long as AutoLayout is set up correctly you should have no problems seeing it ok on all devices
I was designing a login screen for an app. The screen itself is pretty simple. In the Storyboard editor I see:
When I run it on a simulator (iPhone 6s Plus), however, things do not seem right. The textfields do not appear:
If I click into the area where the textfield is supposed to be, I can see it is really there:
I think the issue might end up being just the display, but I want to make sure. Has anyone else had this happen? What was the reason for this issue?
You have set the UITextBorderStyle of your text fields to None. That means they have no visible border. If that isn't what you want, pick a different border style.
Evidently, the border was there, the display was so low quality that I couldn't really see it :/
I am using UINavigationController in my app. In most of the iPhones I tested its fine. However, on an iPhone4 the back button is sometimes (not always) distorted.
Can anyone kindly tell me if theres something I have missed or if there is something I should do?
Thanks.
This may be a long shot, but check your logs to see if you're get any errors related to core animation and/or bad transforms. I've seen something like this before.