A user review brought attention to a layout issue affecting the user experience on the iPhone SE (1st generation). The layout constraints meant that the onscreen keyboard was covering the “Calculate” button, and on this device, the keyboard would not automatically dismiss. After some investigation, I was able to find a way to detect the model of the user’s device, and alter the constraints just for the 1st generation SE, while keeping the layout consistent across the rest of the iPhone line.

Additionally, some code was added to allow the user to dismiss the keyboard by pressing anywhere on the screen outside of the text fields.