Y
Y
YourChief2013-04-02 17:24:48
macOS
YourChief, 2013-04-02 17:24:48

How to display "watermark" on top of all applications in OSX?

Hello.
I had a task to write a tiny application for OS X, which is a component with some kind of picture (jpg/png) displayed in the corner of the screen and on top of all windows.

I haven't developed anything for OSX/iOS and I can't even choose the right components for the solution. It would be great if you showed me the direction of movement, because it’s impossible to google something sane.
Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
vk2, 2013-04-02
@vk2

The XCode examples have a RoundTransparentWindow showing how to display an arbitrary shaped window with arbitrary transparency; plus examples in Google "xcode always on top window" (so that it is always on top), you can handle the rest as you go :)

A
Alexey Akulovich, 2013-04-02
@AterCattus

If you need it to record a screencast, can you just put any watermark on the resulting video?

I
iStyx, 2013-04-03
@iStyx

You need to track windowWillAppear/windowDidAppear, windowWillMove/windowDidMove, etc. alerts. Having received information about the window, draw your own watermark over it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question