I have NSUserDefaults setValue inside my viewDidLoad event. When I set the value of a key using the following code then viewDidLoad is fired again.
[ud setValue:@"YES" forKey:@"isFoo"];
Should the viewDidLoad fire after setting the user default value?