예제 #1
0
        /// <summary>
        /// FinishedLaunching is invoked when the application has loaded its UI and is ready to run
        /// </summary>
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            // create a new window instance based on the screen size
            m_window = new UIWindow(UIScreen.MainScreen.Bounds);

            // Create and setup an App Manager
            App.Manager.Setup();

            // load the appropriate UI, depending on whether the app is running on an iPhone or iPad
            m_viewController            = new HelloRhinoViewController();
            m_window.RootViewController = m_viewController;

            // make the window visible
            m_window.MakeKeyAndVisible();

            return(true);
        }
예제 #2
0
 /// <summary>
 /// GestureDelegate is stubbed for custom delegate handling
 /// </summary>
 public GestureDelegate(HelloRhinoViewController controller)
 {
     //stubbed for delegate handling...for example:
     //m_controller = controller;
 }