Are custom cursors not supported in AVPlayerView? Unless I’m doing something 
wrong, it seems to be the case.

I implemented resetCursorRects: in my custom AVPlayerView subclass to set the 
cursor to one of the NSCursor’s built-in instances, and I call 
invalidateCursorRectsForView: on its window. Debugging shows my 
resetCursorRects: method is called appropriately. However, the cursor doesn’t 
display; the arrow pointer is always shown.

This happens both in my project, and in Apple’s sample AVKitPlayer project. The 
only way I could get a custom cursor to show was to overlay another NSView atop 
the AVPlayerView and use that to handle the mouse.

Any ideas?

----
Karl Moskowski <kmoskow...@me.com>
<http://about.me/kolpanic>


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to