Quote:
Originally Posted by Steaps
Nothing after the return statement is being called. Try using NSLog() to see where code ends/if it's called.
|
your code didnt work because you are returning
yu need to take out the return you have and instead assign the results to a bool variable and test that in the if statement, you cant put if(YES) because YES is a constant, it will always go into the if statement