void ReleaseDesignerOutlets() { if (ButtonKitty != null) { ButtonKitty.Dispose(); ButtonKitty = null; } if (ButtonPuppy != null) { ButtonPuppy.Dispose(); ButtonPuppy = null; } if (ImageViewAnimal != null) { ImageViewAnimal.Dispose(); ImageViewAnimal = null; } if (ViewBackground != null) { ViewBackground.Dispose(); ViewBackground = null; } }
public void ApplicationWillReturnActive(NSNotification notification) { try{ BecomeFirstResponder(); ImageViewAnimal.StartAnimating(); } catch (Exception ex) { } }
public void ApplicationWillResignActive(NSNotification notification) { try{ ResignFirstResponder(); ImageViewAnimal.StopAnimating(); } catch (Exception ex) { } }