Detecting the Taskbar

How do I detect the presence of the taskbar so that I can move my app out of the way? Right now it displays over top of my UI.

Try insets