コード例 #1
0
        public static Arch Arch;         // default: = Arch.DEVICE;

        unsafe static void InitializePlatform(ref InitializationOptions options)
        {
            if (options.IsSimulator)
            {
                Arch = Arch.SIMULATOR;
            }

            UIApplication.Initialize();
        }
コード例 #2
0
        unsafe static void InitializePlatform(InitializationOptions *options)
        {
#if !__MACCATALYST__ && !NET
            if (options->IsSimulator)
            {
                Arch = Arch.SIMULATOR;
            }
#endif

            UIApplication.Initialize();
        }
コード例 #3
0
        public static void Initialize()
        {
#if !MONOMAC
            UIApplication.Initialize();
#endif
        }