New to iOS programming! I've tried reading numerous guides on how to do this, but clearly am missing something. I'm essentially trying to understand the concept of Auto Layout, Size Classes, and Constraints.
So far the code works great for my simple tipping app, however, the alignment to the center is off. On all versions of the iPhone, it is too far to the right. I've tried adjusting constraints for each label/segment controller, but still receive no better result... usually it gets worse. I've tried looking online for numerous guides, but it does not seem to help Just looking for some thoughts.
Attached is an image of my problem. Left is the desired look, right is the outcome if I were to run the program.
Thanks,
Andrew
So far the code works great for my simple tipping app, however, the alignment to the center is off. On all versions of the iPhone, it is too far to the right. I've tried adjusting constraints for each label/segment controller, but still receive no better result... usually it gets worse. I've tried looking online for numerous guides, but it does not seem to help Just looking for some thoughts.
Attached is an image of my problem. Left is the desired look, right is the outcome if I were to run the program.
Thanks,
Andrew