implement support for iOS software keyboard