I’m developing a Mac OS X screensaver that uses WebView. WebView loads fla开发者_如何学编程sh with a map. I want to let a user move the map and resize it (flash map has appropriate controls). I’ve redefine mouseMoved: method so the screensaver does not exit on mouse move. But the mouse cursor is still hidden. It’s visible only on mouse drag. I’ve tried [NSCursor unhide] but it does not work. How can I unhide it?
Thanks in advance.
I know this question has been asked a while ago but I would suggest using a built-in function to hide the cursor and let OS X handles the unhide. There is a class method
[NSCursor setHiddenUntilMouseMoves:YES];
精彩评论