Auto Layout in Navigation Controller with UISegmentedControl: good in iOS7, bad in iOS6
问题 For a navigation controller I like to have a few controls placed in a view from top towards the bottom. I am using auto layout and added constraints, so that the views have a vertical gap to each other. This looks nice for iOS7 and iOS6 in a normal view controller, also for iOS7 in a navigation controller; but wrong in iOS6. The UISegmentedControl shows up wrong. See the screenshots. It looks like the larger height of the UISegmentedControl is not taken into account for iOS6 view. Also it