Just learning Xcode. I'm making an iPad calculator. I can't figure out how to make everything fit. When I lay it out in Xcode, it looks really good. I launch the iPad simulator, and it is totally different. How do I fix this?
They look pretty much the same to me. What makes you say they look "totally different"?
The right edge is cut off, and the bottom as lots of space
Is that Yosemite? Hardly anything looks familiar to me in that screenshot...
@DennisBlah, In order to display this UI on different size screens the sizes of the views must be adjusted. If you're using springs and struts you can only do this by writing code that adjusts the frames of the views to match the screen size. Using auto layout it should be possible to define the relationships that make the views fit onto different size screens without writing any code..
@DennisBlah, if you generate the calculator screen using springs and struts you'll need code for each view to set its width and origin for different screen sizes, and for both orientations. Not saying it can't be done but it can't be done without code.