In iOS 6 and later, this method is never called. In prior versions it was called prior to the controller’s view was released from memory.
Syntax
[Foundation.Export("viewWillUnload")]
[ObjCRuntime.Availability(Deprecated=ObjCRuntime.Platform.iOS_6_0, Introduced=ObjCRuntime.Platform.iOS_5_0)]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual
void ViewWillUnload ()
See Also
Remarks
Requirements
Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0