The screen shot should be pretty self-explanatory, but I am having issues ensuring my viewDidAppear
method is being called. When I set a breakpoint, it breaks in viewDidLoad
.
As a side note, none of my NSLog()
s are writing to the console either.
I did clean my build directory as I had seen recommended elsewhere, but no joy.
Solution was (as originally suspected... bad cached data. But looking in the wrong place. Someone in the iOS Simulator, the app was not being updated and was running off old data.
Deleted app from Simulator (Reset Contents and Settings) and all is good with the world.
Killing the derived data both manually in Finder and through Xcode did not give a complete solution.
Appreciate you all that were quick to respond.
There may be a two reasons...
1.Your program is crashing in that line itself before the breakpoint.
2.After compiling you have deleted 6 lines, therefore the breakpoint shows 6 lines later.
Never put enter or remove empty lines, while you put breakpoints in your code. You will not get breakpoint at correct line.
try to add breakpoint at the line [super viewDidLoad]; and then to delete it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With