resetCursorRects: in AVPlayerView?
resetCursorRects: in AVPlayerView?
- Subject: resetCursorRects: in AVPlayerView?
- From: Karl Moskowski <email@hidden>
- Date: Tue, 08 Oct 2013 12:32:23 -0400
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 <email@hidden>
<http://about.me/kolpanic>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden