Silver Challenge - Determining the TabBar size


#1

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?


#2

I believe the tab bar height and location never change -> idev101.com/code/User_Interface/sizes.html

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.