|Nov 28, 2012, 05:07 AM||#1|
Replicate the ios screenshot effect
I was wondering if anyone knew how to replicate the 'flash' effect of a screenshot of an ios device on a mac. I want to use it as visual feedback for shortcuts such as shift command 3.
|Nov 29, 2012, 10:26 AM||#2|
This may get you started:
Use a borderless NSWindow that fills the screen, and an embedded NSView (background color set to white) that fills the window.
Bring the window to the front/focus, then use core animation to fade it out. (And eventually close it. Don't forget to close it!)
|Nov 29, 2012, 11:15 PM||#3|
I'm not certain that its possible to receive any notification that a screenshot is taking place... Unless maybe you can moniter:
1 - the directory in finder where screenshots are kept (which you'd have to find from a preference plist hidden in library, no doubt)
2 - the user's clipboard for changes in the image data stored?
I do not believe you have any chance of an app with these features being sandboxable.
|flash effect, screenshot|
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|iPad: Request: Lockscreen Screenshot - iPad on iOS 7||Iskios||iPad||2||Nov 27, 2013 12:39 PM|
|Request - iOS 7 Logo Screenshot||rsnapeuk||iPhone||0||Sep 29, 2013 03:50 PM|
|Screenshot of iOS 7's Photo App?||lsquare||iOS 7||14||Sep 19, 2013 07:12 AM|
|Does iOS 7 notify when you screenshot your messages?||viperGTS||iOS 7||21||Sep 11, 2013 04:24 PM|
|I know how to screenshot snapchats on ios 6.1.4||Charlesita||iPhone and iPod touch Apps||2||Aug 24, 2013 07:00 PM|
All times are GMT -5. The time now is 01:13 PM.