Fixed auto layout issue for iOS 7 SDK