//////////////////////////////////// // METHODS //////////////////// public override void ViewDidLoad() { base.ViewDidLoad(); this.camera = new CrashCamera(delegate { }); }
partial void CrashButtonClicked(NSObject sender) { if (this.camera != null) { this.camera.Dispose(); this.camera = null; } GC.Collect(); }