Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread Display Modes
Old Nov 28, 2012, 05:07 AM   #1
macrumors regular
Join Date: Dec 2011
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.

activate is offline   0 Reply With Quote
Old Nov 29, 2012, 10:26 AM   #2
macrumors 68000
Littleodie914's Avatar
Join Date: Jun 2004
Location: Rochester, NY
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!)
Littleodie914 is offline   0 Reply With Quote
Old Nov 29, 2012, 11:15 PM   #3
macrumors 603
ArtOfWarfare's Avatar
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
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.
ArtOfWarfare is offline   0 Reply With Quote

MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

flash effect, screenshot

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
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

Forum Jump

All times are GMT -5. The time now is 05:28 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2015, MacRumors.com, LLC