Hello,
I'm pretty new to programming and am taking my first attempt at creating my own app. I then came across my first problem. I learned the code but not how the graphics are supposed to work. I am aware that you must make an @2x and @3x of each graphic to fit all devices. And that @2x means 2x larger and @3x means 3x larger. So, I've done that.
I have 4 buttons, all with 3 different sizes. I placed the images into a button and lined them up 2x2. They fit just the way i wanted in the 4s and 5/5s simulator. But when I get to the 6, 6 plus, and iPads, they are just off centered and floating up there. What i want them to do is be centered and along the bottom again with an increased size to fill up the screen like it does on the 4s.
I was thinking it may be fixed by applying constraints and I messed around with those a bit but it just extremely stretched out some and did nothing to others. So i'm not to sure.
Sorry I don't know to much about this. If someone would be able to explain the graphics and how all the @2x and stuff works and how to fix my issue that would be amazing!
Thanks!
I'm pretty new to programming and am taking my first attempt at creating my own app. I then came across my first problem. I learned the code but not how the graphics are supposed to work. I am aware that you must make an @2x and @3x of each graphic to fit all devices. And that @2x means 2x larger and @3x means 3x larger. So, I've done that.
I have 4 buttons, all with 3 different sizes. I placed the images into a button and lined them up 2x2. They fit just the way i wanted in the 4s and 5/5s simulator. But when I get to the 6, 6 plus, and iPads, they are just off centered and floating up there. What i want them to do is be centered and along the bottom again with an increased size to fill up the screen like it does on the 4s.
I was thinking it may be fixed by applying constraints and I messed around with those a bit but it just extremely stretched out some and did nothing to others. So i'm not to sure.
Sorry I don't know to much about this. If someone would be able to explain the graphics and how all the @2x and stuff works and how to fix my issue that would be amazing!
Thanks!