Silver Challenge - Determining the TabBar size


I would like to put the segmented control on the HypnosisView window so that it appears just above the TabBar on the screen. How can I (programmatically) find the location/size of the TabBar at the point I’m setting the frame values for the UISegmentedControl?


I believe the tab bar height and location never change ->

Since you know that at compile time, you don’t have to do it at runtime - so you should be able to position the UISegementedControl accordingly.