Wait for keyboard to stop showing up on iOS

@Hakubo - what'ya think?