FBScreen.m 516 B

12345678910111213141516171819202122
  1. /**
  2. * Copyright (c) 2015-present, Facebook, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. */
  9. #import "FBScreen.h"
  10. #import "XCUIElement+FBIsVisible.h"
  11. #import "FBXCodeCompatibility.h"
  12. #import "XCUIScreen.h"
  13. @implementation FBScreen
  14. + (double)scale
  15. {
  16. return [XCUIScreen.mainScreen scale];
  17. }
  18. @end