I'm not sure what your question is. The first thing you seem to have answered yourself, i.e. the solution (from your link) is to use NSNotificationCenter.DefaultCenter.AddObserver .
The second is unsubscribing - if you want to stop monitoring, you must call the previous method, i.e. NSNotificationCenter.DefaultCenter.RemoveObserver .
Just return the object returned from AddObserver so you can provide it to RemoveObserver .
note: If I didnβt understand your question correctly, use change and add some details and / or code of what you want to achieve, and we will do our best to help :-)
source share