main_ios.mm 686 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include "AtomSampleViewerApplication.h"
  9. #include <AzGameFramework/Application/GameApplication.h>
  10. #import <Foundation/Foundation.h>
  11. #include <UIKit/UIKit.h>
  12. int ios_main()
  13. {
  14. return AtomSampleViewer::RunGameCommon(0, nullptr);
  15. }
  16. int main(int argc, char** argv)
  17. {
  18. @autoreleasepool
  19. {
  20. UIApplicationMain(argc,
  21. argv,
  22. @"IosO3DEApplication",
  23. @"IosO3DEApplicationDelegate");
  24. }
  25. }