How many times viewWillAppear method gets called in the lifetime of a view controller?
I wanted to register for a notification only once when that view is loaded in memory and deregister it once it is unloaded.
When I do it viewDidLoad method my view gets register multiple times.