• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
resetCursorRects: in AVPlayerView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Safari on Smart Card enrollment
  • Next by Date: Re: Responder chain query
  • Previous by thread: Safari on Smart Card enrollment
  • Next by thread: NSUserInterfaceItemIdentification -identifier vs -tag
  • Index(es):
    • Date
    • Thread