/* * beaconRegion.NotifyEntryStateOnDisplay = true; * beaconRegion.NotifyOnEntry = true; * beaconRegion.NotifyOnExit = true; * locationmanager.RegionEntered += (object sender, CLRegionEventArgs e) => { * if (e.Region.Identifier == beaconId) { * * var notification = new UILocalNotification () { AlertBody = "The Xamarin beacon is close by!" }; * UIApplication.SharedApplication.CancelAllLocalNotifications(); * UIApplication.SharedApplication.PresentLocationNotificationNow (notification); * } * }; * locationmanager.StartMonitoring (beaconRegion); * * CLBeaconRegion beaconRegionNotifications; */ #endregion public override void DidReceiveMemoryWarning() { base.DidReceiveMemoryWarning(); Unknown.Dispose(); Unknown = null; Near.Dispose(); Near = null; Far.Dispose(); Far = null; Immediate.Dispose(); Immediate = null; }