Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望能够在 MonoMac 应用程序中使用 Cocoa Accessibility API,但我在 MonoMac 文档中找不到任何对它的引用。AXUIElement.h 已经映射了吗?
我也找不到任何东西。
某些部分可以使用 DllImport 实现。例如,我做了以下事情:
public const string AccessibilityLibrary = "/System/Library/Frameworks/ApplicationServices.framework/ApplicationServices"; [DllImport (AccessibilityLibrary)] extern static bool AXAPIEnabled();