public override void ViewDidAppear (bool animated)
		{
			base.ViewDidAppear (animated);

			try 
			{
				if (!IsShown) {

					IsShown = true;

					UIImage image = new UIImage (NSData.FromArray (Image));
					Image = null;

					selector = new CropViewDelegate (this);
					TOCropViewController picker = new TOCropViewController (image);
					picker.Delegate = selector;

					PresentViewController (picker, false, null);

				}
			}
			catch (Exception ex) {
				Debug.WriteLine (ex.Message);
			}
		}
Example #2
0
        public override void ViewDidAppear(bool animated)
        {
            base.ViewDidAppear(animated);

            try
            {
                if (!IsShown)
                {
                    IsShown = true;

                    UIImage image = new UIImage(NSData.FromArray(Image));
                    Image = null;

                    selector = new CropViewDelegate(this);
                    TOCropViewController picker = new TOCropViewController(image);
                    picker.Delegate = selector;

                    PresentViewController(picker, false, null);
                }
            }
            catch (Exception ex) {
                Debug.WriteLine(ex.Message);
            }
        }