I am trying to write a test to automate the showing and hiding of the UI keyboard. However, I need to make sure that the keyboard is visible on the screen whenever I try to make such a call. I found that I can check for an element of the
From the FAQ:
How do I create a matcher that matches internal UIKit classes?
Use NSClassFromString to match on internal classes that can't be referenced directly.