void HandleDeviceConnected (object sender, CBPeripheralEventArgs e) { connectingDialog.Hide (false); detailsScreen = Storyboard.InstantiateViewController ("DeviceDetailsScreen") as DeviceDetailsScreen; detailsScreen.ConnectedPeripheral = e.Peripheral; NavigationController.PushViewController (detailsScreen, true); }
void HandleDeviceConnected(object sender, CBPeripheralEventArgs e) { connectingDialog.Hide(false); detailsScreen = Storyboard.InstantiateViewController("DeviceDetailsScreen") as DeviceDetailsScreen; detailsScreen.ConnectedPeripheral = e.Peripheral; NavigationController.PushViewController(detailsScreen, true); }