use the appropriate layout methods on iOS 7, that actually work correctly. On iOS 6, use the method that's not deprecated on iOS 7, and fudge it correctly.