public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            if (UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Phone)
            {
                CGRect bounds = UIScreen.MainScreen.Bounds;
                if (bounds.Size.Height <= 480)
                {
                    this.DescriptionLabel.Font = UIFont.FromName("HelveticaNeue-Thin", 12);
                }
                else
                {
                    this.DescriptionLabel.Font = UIFont.FromName("HelveticaNeue-Thin", 15);
                }
            }

            TKFeedback.SetDataSource(new TKPlatformFeedbackSource("58cb0070-f612-11e3-b9fc-55b0b983d3be", "*****@*****.**"));
        }
 public void SendFeedback(UIButton sender)
 {
     TKFeedback.ShowFeedback();
 }
 public override void MotionEnded(UIEventSubtype motion, UIEvent evt)
 {
     TKFeedback.ShowFeedback();
 }
示例#4
0
 // >> feedback-motion-cs
 public override void MotionEnded(UIEventSubtype motion, UIEvent evt)
 {
     // >> feedback-initialize-cs
     TKFeedback.ShowFeedback();
     // << feedback-initialize-cs
 }