I am building a custom control, in which I want to register control (subclass of UIButton
) for notification when it is loaded, and unregister when UIView
is unloaded.
I have searched a lot, and found numerous methods for UIViewController's
life cycle but not for simple UIView.Can
you provide methods when I can determine start and end of UIView