pinkstone.co.uk
How to detect when the keyboard appears and disappears in iOS
To detect when the keyboard from a UITextField is being brought up (and goes away again), the UITextField Delegate Protocol won’t help us. Instead we need to listen to two notifications, name…