Beispiel #1
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            ViewController examplesController = new ViewController ();
            UINavigationController navigationController = new UINavigationController (examplesController);
            navigationController.NavigationBar.Translucent = false;

            TKFeedbackController feedbackController = new TKFeedbackController ();
            feedbackController.DataSource = new TKPlatformFeedbackSource (apiKey, uID);
            feedbackController.ContentController = navigationController;

            this.Window = new UIWindow (UIScreen.MainScreen.Bounds);
            this.Window.RootViewController = feedbackController;
            this.Window.MakeKeyAndVisible ();
            return true;
        }
Beispiel #2
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            ViewController         examplesController   = new ViewController();
            UINavigationController navigationController = new UINavigationController(examplesController);

            navigationController.NavigationBar.Translucent = false;

            TKFeedbackController feedbackController = new TKFeedbackController();

            feedbackController.DataSource        = new TKPlatformFeedbackSource(apiKey, uID);
            feedbackController.ContentController = navigationController;

            this.Window = new UIWindow(UIScreen.MainScreen.Bounds);
            this.Window.RootViewController = feedbackController;
            this.Window.MakeKeyAndVisible();
            return(true);
        }
Beispiel #3
0
        public void SendFeedback(UIButton sender)
        {
            TKFeedbackController feedbackController = (TKFeedbackController)this.View.Window.RootViewController;

            feedbackController.ShowFeedback();
        }