When i try to use (anywhere and anytime in my code) needsInputModeSwitchKey
property from UIInputViewController
i'm facing with warning:
-[UIInputViewController needsInputModeSwitchKey] was called before a connection was established to the host application. This will produce an inaccurate result. Please make sure to call this after your primary view controller has been initialized.
Despite the warning, i get correct value and it looks weird. What should i do to remove this warning?