Usually, when you want to allow more specific behavior in a subclass, while preserving the general behavior in the superclass, you call the superclass super . For example, the documentation -[UIViewController viewDidAppear:] says:
You can override this method to perform additional tasks related to the presentation of the view. If you override this method, you must call super at some point in your implementation.
So, your notification setting is great (although itβs a little strange to have an NSNotification object as a parameter to the method you expect to override), but you want to call [super notification:notification] to get the superclass behavior as well.
source share