FORCE HIDE Soft Keyboard

I was working on a splash screen and out of nowhere a soft keyboard poped up on the screen. No matter what I tried it didn’t go out. Finally figured out a way to force hide the soft keyboard....