I need to layout a segment control right under the top bar height of a uiwindow such as this.
I have searched the UIWindow reference but found nothing.
That's known as the status bar. Off the top of my head I think you can find the frame for it using
[UIApplication sharedApplication].statusbarFrame