比 NSCursor 级别低

发布于 2024-11-27 01:10:32 字数 147 浏览 3 评论 0原文

我试图在鼠标移到 PDFView 上时设置光标。我已经覆盖了 (void)resetCursorRects 但它仅在指针位于视图边缘和 pdf 内容之间时更改光标,然后 PDFView 在内容上方时将其设置回文本选择。是否有较低级别的方法来设置当前光标?

I'm trying to set the cursor when the mouse goes over a PDFView. I have overridden (void)resetCursorRects but it only changes the cursor when the pointer is between the edge of the view and the content of the pdf, then the PDFView sets it back to text selection when over the content. Is there a lower level way to set the current cursor?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心舞飞扬 2024-12-04 01:10:32

抱歉,找到了答案:- (void)setCursorForAreaOfInterest:(PDFAreaOfInterest)area

Sorry, found the answer: - (void)setCursorForAreaOfInterest:(PDFAreaOfInterest)area

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文