private void HandleOffline() { if (!NetworkStatus.IsDataConnectionAvailable()) { var okAlertController = UIAlertController.Create("Info", "You are currently offline. Only displaying cached contents", UIAlertControllerStyle.Alert); okAlertController.AddAction(UIAlertAction.Create("Ok", UIAlertActionStyle.Default, null)); PresentViewController(okAlertController, true, null); } }