I could find
https://developer.apple.com/library/mac/documentation/TextFonts/Reference/TextInputSourcesReference/#//apple_ref/c/func/TISGetInputSourceProperty
which suggested this was a public API
but for some reason the documentation was moved.
Regards
Prasanta
On 12-Oct-19 4:08 AM, Sergey Bylokhov wrote:
On 10/9/19 2:54 am, Prasanta Sadhukhan wrote:
I could not find any documentation too but it seems to be the only
way to get the current keyboard layout in mac, as I could get from
search. As the fix has been tested in multiple systems, I do not see
any problem.
If this API is not public it may affect applications which are
distributed via AppStore and could affect notarization.