比 NSCursor 级别低
我试图在鼠标移到 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
抱歉,找到了答案:
- (void)setCursorForAreaOfInterest:(PDFAreaOfInterest)area
Sorry, found the answer:
- (void)setCursorForAreaOfInterest:(PDFAreaOfInterest)area