Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

OrientationSupport.h 856B

1234567891011121314151617181920
  1. #pragma once
  2. #include <CoreGraphics/CGAffineTransform.h>
  3. #if !PLATFORM_TVOS
  4. ScreenOrientation ConvertToUnityScreenOrientation(UIInterfaceOrientation hwOrient);
  5. UIInterfaceOrientation ConvertToIosScreenOrientation(ScreenOrientation orient);
  6. #endif
  7. #if !PLATFORM_TVOS
  8. UIInterfaceOrientation UIViewControllerInterfaceOrientation(UIViewController* controller);
  9. #endif
  10. ScreenOrientation UIViewControllerOrientation(UIViewController* controller);
  11. CGAffineTransform TransformForOrientation(ScreenOrientation curOrient);
  12. CGAffineTransform TransformBetweenOrientations(ScreenOrientation fromOrient, ScreenOrientation toOrient);
  13. ScreenOrientation OrientationAfterTransform(ScreenOrientation curOrient, CGAffineTransform transform);
  14. void OrientView(UIViewController* host, UIView* view, ScreenOrientation to);