what is the exact difference between textFieldDidBeginEditing and textFieldShouldBeginEditing. and i want to know in which scenario we use them(I know that they are called when we enter any thing into textfield. i want to know the exact time in which they are called when we use both in our program)
what is the exact difference between textFieldDidBeginEditing and textFieldShouldBeginEditing. and i want to know
Share
A “shouldBegin” something allows you to say NO on the return value to prohibit the action.
A “didBegin” something says it has just started to happen and you need to take whatever actions you need to do at that point in time.