Ios swift – add tap gesture to empty space after changing offset
I implemented a y-offset mechanism for my TextField when the keyboard is visible. On tap, the entire screen is moved up. Now, I want to tap on any empty space to dismiss the keyboard. The problem is that the added…